Skip to content

Commit

Permalink
fix nightly again (#2195)
Browse files Browse the repository at this point in the history
This PR moves nightly back to GH with Ubuntu 24.04 and the old settings.
The nightly test passed for this branch in here:
https://github.com/powdr-labs/powdr/actions/runs/12154934614
  • Loading branch information
leonardoalt authored Dec 4, 2024
1 parent 4c5caae commit 4e785d6
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,22 @@ jobs:
args: '--all-targets'

test_release:
runs-on: warp-ubuntu-2404-x64-4x
runs-on: ubuntu-24.04
needs: check_if_needs_running
if: needs.check_if_needs_running.outputs.status > 0

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: ⚡ Restore rust cache
id: cache
uses: WarpBuilds/cache/restore@v1
- name: ⚡ Cache rust
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Cargo.lock
key: ${{ runner.os }}-cargo-nightly-tests
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.toml') }}
- name: ⚡ Cache nodejs
uses: actions/cache@v4
with:
Expand All @@ -87,6 +84,7 @@ jobs:
- name: Build
run: cargo build --all --release --all-features
- name: Run tests
run: PILCOM=$(pwd)/pilcom/ cargo test --all --release --verbose --all-features -- --include-ignored --nocapture
# Number threads is set to 1 because the runner does not have enough memeory for more.
run: PILCOM=$(pwd)/pilcom/ cargo test --all --release --verbose --all-features -- --include-ignored --nocapture --test-threads=1
- name: Run benchmarks
run: cargo bench --workspace --all-features

0 comments on commit 4e785d6

Please sign in to comment.