Skip to content

Commit

Permalink
Revert "test a different way of installing python"
Browse files Browse the repository at this point in the history
This reverts commit caf33c6.
  • Loading branch information
vtnate committed Dec 12, 2023
1 parent caf33c6 commit 91dbaa3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/nightly_ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
# os: container operations in GHA only work on Ubuntu
simulation-type: [electric] # basic, GEB, residential,
simulation-type: [basic, GEB, residential, electric]
# python-version: No need to test more than 1 python-version
# runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
Expand All @@ -46,6 +46,10 @@ 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' }}
Expand All @@ -56,9 +60,7 @@ jobs:
bundle exec rspec -e 'Update project directory'
bundle exec rspec -e 'Install python dependencies'
- name: Test simulations
run: |
bundle exec uo install_python
bundle exec rspec -e 'Run and work with a small ${{ matrix.simulation-type }} simulation'
run: 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
Expand Down

0 comments on commit 91dbaa3

Please sign in to comment.