Skip to content

Commit

Permalink
Exclude check-license workflows for non-Linux
Browse files Browse the repository at this point in the history
We now have a matrix job to ensure test coverage on all supported OS
platforms. This also causes the `check-license` job to run on each OS.

The license check isn't platform specific, so this ends up being a
little wasteful. This adds an exclude block to skip macOS and Windows
since they are not needed and those particular OS's take longer to run
than Linux.

Signed-off-by: Sean McGinnis <[email protected]>
  • Loading branch information
stmcginnis committed Nov 15, 2023
1 parent 53d5768 commit 6d012b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
matrix:
make_target: ["check-licenses", "build", "integ"]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
- os: windows-latest
make_target: check-licenses
- os: macos-latest
make_target: check-licenses
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 6d012b7

Please sign in to comment.