Skip to content

Commit

Permalink
deleting if github.repo to see if that helps
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsteuteville committed Feb 21, 2024
1 parent e160637 commit d066a83
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/rust-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ on:
jobs:
test:
# might not be needed
if: github.repository == 'nrel/fastsim'
# if: github.repository == 'nrel/fastsim'

runs-on: ubuntu-latest
runs-on: ubuntu-latest

strategy:
fail-fast: true
strategy:
fail-fast: true

if: contains(github.event.pull_request.changed_files, 'rust/')
- name: install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
if: contains(github.event.pull_request.changed_files, 'rust/')
- name: install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Rust unit tests
run: |
cd rust/ && cargo test
- name: Rust unit tests
run: |
cd rust/ && cargo test

0 comments on commit d066a83

Please sign in to comment.