-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
188 additions
and
1,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: coverage | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
coverage: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
name: Test `cargo-llvm-cov` on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview | ||
|
||
- uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
- uses: ./ | ||
with: | ||
workspaces: tests | ||
|
||
- run: cargo llvm-cov --all-features --workspace | ||
working-directory: tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: install | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
install: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
name: Test `cargo install` on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: rustup toolchain install stable --profile minimal | ||
|
||
- uses: ./ | ||
|
||
- run: cargo install cargo-deny --locked |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: simple | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
simple: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
name: Test `cargo check/test` on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: rustup toolchain install stable --profile minimal | ||
|
||
- uses: ./ | ||
with: | ||
workspaces: tests | ||
|
||
- run: | | ||
cargo check | ||
cargo test | ||
working-directory: tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: target-dir | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
target-dir: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
name: Test custom target-dir on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: rustup toolchain install stable --profile minimal | ||
|
||
# the `workspaces` option has the format `$workspace -> $target-dir` | ||
# and the `$target-dir` is relative to the `$workspace`. | ||
- uses: ./ | ||
with: | ||
workspaces: tests -> ../custom-target-dir | ||
|
||
- run: cargo test --manifest-path tests/Cargo.toml --target-dir custom-target-dir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: workspaces | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
workspaces: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
name: Test multiple workspaces on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown | ||
|
||
- uses: ./ | ||
with: | ||
workspaces: | | ||
tests | ||
tests/wasm-workspace | ||
- run: cargo check | ||
working-directory: tests | ||
|
||
- run: cargo check | ||
working-directory: tests/wasm-workspace |
Oops, something went wrong.