Skip to content

Commit

Permalink
fix: Coverage workflow to run on ubuntu-22.04 (logos-co#836)
Browse files Browse the repository at this point in the history
* fix: remove Remove unwanted software step

* fix: return Remove unwanted software step
- change to run ubuntu-latest to not occupy self-hosted runner

* fix: remove redundant condition

* fix: remove Checkout submodules step

* test: run on ubuntu-22.04

* test: without Remove unwanted software

* fix: remove on push trigger
  • Loading branch information
romanzac authored Oct 23, 2024
1 parent 5a85281 commit ca786fd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
schedule:
- cron: '0 3 * * *'

workflow_dispatch:

name: Codecov
Expand All @@ -11,18 +12,14 @@ jobs:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-C instrument-coverage"
LLVM_PROFILE_FILE: "nomos-node-%p-%m.profraw"
runs-on: ['self-hosted','ubuntu-22.04']
runs-on: ['ubuntu-22.04']
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Remove unwanted software
uses: ./.github/actions/prune-vm
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout submodules
run: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down

0 comments on commit ca786fd

Please sign in to comment.