Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
chore: Update CI with a few features: (#805)
Browse files Browse the repository at this point in the history
* Use default openssl on github CI rather than use slow/intermittent choco distribution.
* Do not fail fast (nextest) on CI, and continue running tests if any job within run-test-suites fails.
  • Loading branch information
jsantell authored Feb 8, 2024
1 parent 06d1e9f commit ecbf94c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[profile.default]
fail-fast = true

[profile.ci]
retries = 4
# Terminates test after waiting (`period` * `terminate-after`).
# After timeout, will still retry `retries` times.
slow-timeout = { period = "60s", terminate-after = 3 }
fail-fast = false
4 changes: 3 additions & 1 deletion .github/workflows/run_test_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
swift test --sanitize=address
run-linting-linux:
continue-on-error: true
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -64,6 +65,7 @@ jobs:

run-rust-test-suite:
name: 'Run Rust test suite'
continue-on-error: true
strategy:
matrix:
features: ['test-kubo,headers', 'test-kubo,headers,rocksdb']
Expand All @@ -89,7 +91,7 @@ jobs:
- name: 'Install environment packages (Windows)'
if: ${{ matrix.platform == 'windows-latest' }}
run: |
choco install -y cmake protoc openssl
choco install -y cmake protoc
shell: sh
- name: 'Install environment packages (Linux)'
if: ${{ matrix.platform == 'ubuntu-latest' }}
Expand Down

0 comments on commit ecbf94c

Please sign in to comment.