Skip to content

deleting if github.repo to see if that helps #6

deleting if github.repo to see if that helps

deleting if github.repo to see if that helps #6

Workflow file for this run

name: rust-tests
on:
push:
branches: [fastsim-2, fastsim-3]
pull_request:
workflow_dispatch:
workflow_call:
jobs:
test:
# might not be needed
# if: github.repository == 'nrel/fastsim'
runs-on: ubuntu-latest
strategy:
fail-fast: true
if: contains(github.event.pull_request.changed_files, 'rust/')
- name: install rust

Check failure on line 21 in .github/workflows/rust-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust-tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust unit tests
run: |
cd rust/ && cargo test