Skip to content

Commit db49db3

Browse files
authored
Enable bench (sekineh#29) (sekineh#30)
Will fix sekineh#29
1 parent 3bb08b1 commit db49db3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
cargo_args:
2121
- ""
2222
- --features serde
23+
include:
24+
- os: ubuntu-latest
25+
rust: nightly
26+
cargo_args: ""
2327

2428
runs-on: ${{ matrix.os }}
2529

@@ -50,6 +54,13 @@ jobs:
5054
command: test
5155
args: ${{ matrix.cargo_args }}
5256

57+
- name: Run cargo bench
58+
uses: actions-rs/cargo@v1
59+
if: ${{ matrix.rust == 'nightly' }}
60+
with:
61+
command: bench
62+
args: ${{ matrix.cargo_args }}
63+
5364
# - name: Build
5465
# run: cargo build --verbose
5566
# - name: Build (serde)

0 commit comments

Comments
 (0)