Skip to content

Commit

Permalink
test a different way of installing python
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Dec 11, 2023
1 parent a88514a commit caf33c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 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: [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
Expand All @@ -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' }}
Expand All @@ -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
Expand Down

0 comments on commit caf33c6

Please sign in to comment.