Skip to content

Commit

Permalink
fixup! Run expensive tests regularly, but not on every pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
hrxi committed Jan 29, 2024
1 parent 761560b commit 5e198f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,8 @@ jobs:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: true
- uses: actions/checkout@v4
- name: "Check for duplicate message IDs"
run: "! grep -rEoh --exclude-dir tests --exclude-dir target 'TYPE_ID: u16 = [^;]+;' | sort | uniq -d | grep '^'"
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ jobs:
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: true
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -106,4 +102,4 @@ jobs:
fail_ci_if_error: false
flags: unittests
name: Nimiq code coverage
verbose: true
verbose: true
5 changes: 5 additions & 0 deletions .github/workflows/expensive_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
large-packages: false
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
Expand Down

0 comments on commit 5e198f7

Please sign in to comment.