diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6e2b6aca..025410f1 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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/ \ No newline at end of file diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index f858e8ad..77d35532 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -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: