diff --git a/.github/workflows/nightly_ci_build.yml b/.github/workflows/nightly_ci_build.yml index 19ed4875..968d2770 100644 --- a/.github/workflows/nightly_ci_build.yml +++ b/.github/workflows/nightly_ci_build.yml @@ -24,7 +24,7 @@ jobs: strategy: matrix: # os: container operations in GHA only work on Ubuntu - simulation-type: [basic, GEB, residential, electric] + simulation-type: [electric] # basic, GEB, residential, # python-version: No need to test more than 1 python-version # runs-on: ${{ matrix.os }} runs-on: ubuntu-latest @@ -46,10 +46,6 @@ jobs: ruby --version bundle update bundle exec certified-update - - name: Install Python dependencies - # Only the electric tests need to install python dependencies - if: ${{ matrix.simulation-type == 'electric' }} - run: bundle exec uo install_python - name: Test project setup # We only need to run these tests once, not every matrix iteration. if: ${{ matrix.simulation-type == 'electric' }} @@ -60,7 +56,9 @@ jobs: bundle exec rspec -e 'Update project directory' bundle exec rspec -e 'Install python dependencies' - name: Test simulations - run: bundle exec rspec -e 'Run and work with a small ${{ matrix.simulation-type }} simulation' + run: | + bundle exec uo install_python + bundle exec rspec -e 'Run and work with a small ${{ matrix.simulation-type }} simulation' - name: Upload artifacts # Save results for examination - useful for debugging uses: actions/upload-artifact@v3