Skip to content

Commit

Permalink
run tests serially in CI
Browse files Browse the repository at this point in the history
Probably not what cases the flaky error, but might as well.
  • Loading branch information
bsamseth committed Oct 7, 2023
1 parent 22a7ee9 commit fc1fcdd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build aocd-proc
run: cd aocd-proc && cargo build
- name: Build aocd
run: cargo build
- name: Run tests for aocd-proc
run: cd aocd-proc && RUST_BACKTRACE=1 cargo test
run: cd aocd-proc && RUST_BACKTRACE=1 cargo test -- --test-threads=1
- name: Run tests for aocd
run: RUST_BACKTRACE=1 cargo test
run: RUST_BACKTRACE=1 cargo test -- --test-threads=1

0 comments on commit fc1fcdd

Please sign in to comment.