Skip to content

Commit

Permalink
checking if runs with run cargo tests uncommented
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsteuteville committed Feb 23, 2024
1 parent 634f963 commit 6f1baa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
override: true

- name: Rust unit tests
# if: ${{ github.repository == 'nrel/fastsim' && contains(github.event.pull_request.changed_files, 'rust/') }}
if: ${{ github.repository == 'nrel/fastsim' && contains(github.event.pull_request.changed_files, 'rust/') }}
run: |
cd rust/ && cargo test
- name: Python unit tests
# if: ${{ github.repository == 'nrel/fastsim' && (contains(github.event.pull_request.changed_files, 'python/') || contains(github.event.pull_request.changed_files, 'rust/')) }}
if: ${{ github.repository == 'nrel/fastsim' && (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/
pytest -v python/fastsim/demos/
1 change: 1 addition & 0 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- run: rustup target add aarch64-apple-darwin
if: matrix.os == 'macos'

# for some reason this make the tests run -- but altrios doesn't have this??
- name: run cargo tests
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 6f1baa5

Please sign in to comment.