diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 27d4528..f6d43cd 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -21,11 +21,14 @@ jobs: with: use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 + - name: Install R dependencies + uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::covr - needs: coverage + extra-packages: rcmdcheck, keras # Add keras to the list of extra packages + - name: Install Keras Python dependencies + run: R -e 'keras::install_keras()' # This runs the install_keras function from R + - name: Test coverage run: | covr::codecov(