Skip to content

Commit

Permalink
updating python test if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsteuteville committed Feb 22, 2024
1 parent 5da801a commit f290931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
cd rust/ && cargo test
- name: Python unit tests
if: ${{ github.repository == 'nrel/fastsim' }}
if: ${{ github.repository == 'nrel/fastsim' && (contains(github.event.pull_request.changed_files, 'python/') || contains(github.event.pull_request.changed_files, 'rust/')) }}
# if: ${{ contains(github.event.pull_request.changed_files, 'python/') || contains(github.event.pull_request.changed_files, 'rust/') }}
run: |
pip install -e ".[dev]" && pytest -v python/fastsim/tests/
Expand Down

0 comments on commit f290931

Please sign in to comment.