Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nix for CI test #184

Merged
merged 17 commits into from
Feb 20, 2023
Prev Previous commit
Next Next commit
Always use release
  • Loading branch information
rsdy committed Feb 15, 2023
commit bd5e3a0a752b3448e649cacd2795f310b2a10cc9
4 changes: 2 additions & 2 deletions .github/workflows/server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: nix develop --no-update-lock-file -c bash -c 'cargo --locked fmt -p bleep -- --check'

- name: Clippy
run: nix develop --no-update-lock-file -c bash -c 'cargo --locked clippy -p bleep --all-features --manifest-path Cargo.toml'
run: nix develop --no-update-lock-file -c bash -c 'cargo --locked clippy -p bleep --all-features --manifest-path Cargo.toml --release'

test:
runs-on: nixos
Expand All @@ -46,7 +46,7 @@ jobs:
lfs: true

- name: Tests
run: nix develop --no-update-lock-file -c bash -c 'cargo --locked test -p bleep --all-features'
run: nix develop --no-update-lock-file -c bash -c 'cargo --locked test -p bleep --all-features --release'

# benchmark:
# runs-on: [self-hosted, benchmark]
Expand Down