Check benchmarks only instead of testing them in CI
This commit is contained in:
parent
bcd6873b37
commit
5e01d767c5
2 changed files with 13 additions and 5 deletions
14
.github/workflows/check.yml
vendored
14
.github/workflows/check.yml
vendored
|
|
@ -1,13 +1,13 @@
|
|||
name: Check
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
widget:
|
||||
benchmarks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hecrj/setup-rust-action@v2
|
||||
- uses: actions/checkout@master
|
||||
- name: Check standalone `iced_widget` crate
|
||||
run: cargo check --package iced_widget --features image,svg,canvas
|
||||
- name: Check benchmarks
|
||||
run: cargo check --benches --all-features
|
||||
|
||||
wasm:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -27,3 +27,11 @@ jobs:
|
|||
run: cargo build --package todos --target wasm32-unknown-unknown
|
||||
- name: Check compilation of `integration` example
|
||||
run: cargo build --package integration --target wasm32-unknown-unknown
|
||||
|
||||
widget:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hecrj/setup-rust-action@v2
|
||||
- uses: actions/checkout@master
|
||||
- name: Check standalone `iced_widget` crate
|
||||
run: cargo check --package iced_widget --features image,svg,canvas
|
||||
|
|
|
|||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -22,5 +22,5 @@ jobs:
|
|||
sudo apt-get install -y libxkbcommon-dev libgtk-3-dev
|
||||
- name: Run tests
|
||||
run: |
|
||||
cargo test --verbose --workspace --benches
|
||||
cargo test --verbose --workspace --benches --all-features
|
||||
cargo test --verbose --workspace
|
||||
cargo test --verbose --workspace --all-features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue