Skip to content

Commit

Permalink
Ignore unimplemented tests (#703)
Browse files Browse the repository at this point in the history
* Ignore unimplemented tests

* Attempt to fix the conditionals

* Having only successful tests actually stressed the compiler lockfile logic and demonstrated some flaws. Added some jitter to work around it.
  • Loading branch information
dfellis authored May 16, 2024
1 parent 3c7a932 commit f9c81b6
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 131 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
test:

runs-on: self-hosted

Expand All @@ -20,5 +20,9 @@ jobs:
run: cargo fmt --check
- name: Build
run: cargo build --verbose
- name: Run tests
- if: ${{ github.ref == 'ref/head/main' }}
name: Run tests
run: cargo test --verbose -- --ignored
- if: ${{ github.ref != 'ref/head/main' }}
name: Run tests
run: cargo test --verbose
37 changes: 37 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ clap = { version = "4.4.18", features = ["derive"] }
dirs = "5.0.1"
nom = "7.1.3"
ordered_hash_map = "0.4.0"
rand = "0.8.5"
sysinfo = "0.30.7"

[dev-dependencies]
Expand Down
Loading

0 comments on commit f9c81b6

Please sign in to comment.