Skip to content

Commit

Permalink
Merge pull request #56 from AbstractSDK/misha/abs-387-fix-template-gi…
Browse files Browse the repository at this point in the history
…thub-workflows

fix test and scheduled workflows
  • Loading branch information
CyberHoward authored Apr 22, 2024
2 parents fb31dd6 + de3739c commit 195e49f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 53 deletions.
23 changes: 0 additions & 23 deletions .github/codecov.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [main]
pull_request:
schedule:
- cron: '7 7 * * *'
- cron: "7 7 * * *"
name: rolling
jobs:
# https://twitter.com/mycoliza/status/1571295690063753218
Expand All @@ -21,9 +21,6 @@ jobs:
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: generate artifacts
uses: extractions/setup-just@v2
run: just wasm
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets
# https://twitter.com/alcuadrado/status/1571291687837732873
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,5 @@ jobs:
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
# https://twitter.com/jonhoo/status/1571290371124260865
- name: generate artifacts
uses: extractions/setup-just@v2
run: just wasm
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets
coverage:
runs-on: ubuntu-latest
name: ubuntu / stable / coverage
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo llvm-cov
run: cargo llvm-cov --locked --all-features --lcov --output-path lcov.info
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true

0 comments on commit 195e49f

Please sign in to comment.