-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #789 from getgems-io/fix_ci_tests
fix: fix broken tests and ignore expensive tests
- Loading branch information
Showing
16 changed files
with
85 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,20 +36,6 @@ jobs: | |
targets: x86_64-unknown-linux-gnu | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- run: cargo build -v --target x86_64-unknown-linux-gnu | ||
env: | ||
RUSTFLAGS: "" | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
CMAKE_C_COMPILER_LAUNCHER: "sccache" | ||
CMAKE_CXX_COMPILER_LAUNCHER: "sccache" | ||
- run: cargo build -v --target x86_64-unknown-linux-gnu --features testnet | ||
env: | ||
RUSTFLAGS: "" | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
CMAKE_C_COMPILER_LAUNCHER: "sccache" | ||
CMAKE_CXX_COMPILER_LAUNCHER: "sccache" | ||
- uses: actions-rs/clippy-check@v1 | ||
env: | ||
RUSTFLAGS: "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Test PR | ||
on: | ||
pull_request: | ||
branches: | ||
- "master" | ||
paths-ignore: | ||
- .github/workflows/charts-* | ||
- charts/** | ||
- .release-please-manifest.json | ||
- release-please-config.json | ||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
pr-tests: | ||
strategy: | ||
matrix: | ||
include: | ||
- features: '' | ||
- features: 'testnet' | ||
name: Run cargo tests | ||
runs-on: | ||
group: "CPUBound" | ||
permissions: | ||
contents: read | ||
checks: write | ||
security-events: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: libsecp256k1-dev libsodium-dev liblz4-dev | ||
- uses: arduino/setup-protoc@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: x86_64-unknown-linux-gnu | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- run: cargo test --target x86_64-unknown-linux-gnu --no-fail-fast --features "${{ matrix.features }}" | ||
env: | ||
RUSTFLAGS: "" | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
CMAKE_C_COMPILER_LAUNCHER: "sccache" | ||
CMAKE_CXX_COMPILER_LAUNCHER: "sccache" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters