forked from stratum-mining/stratum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split MG CI jobs and separate them from Tarpaulin
this is a paliative solution to the issues we've been facing with MG CI, which makes it slightly less worse by breaking tests into multiple jobs and allowing us to re-run false alarms in a more agile way
- Loading branch information
Showing
2 changed files
with
148 additions
and
118 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
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,147 @@ | ||
# Runs all Message Generator tests in separate jobs | ||
|
||
name: Message Generator Tests | ||
|
||
on: | ||
push: | ||
branches: [ main, dev ] | ||
pull_request: | ||
branches: [ main, dev ] | ||
|
||
jobs: | ||
setup-mg-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.75.0 | ||
override: true | ||
components: llvm-tools-preview | ||
|
||
- name: Log data from rustc | ||
run: rustc -Vv | ||
|
||
- name: Install cargo-llvm-cov | ||
run: cargo install cargo-llvm-cov | ||
|
||
bad-pool-config-test: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run bad-pool-config-test | ||
run: sh ./test/message-generator/test/bad-pool-config-test/bad-pool-config-test.sh | ||
|
||
interop-jd-translator: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run interop-jd-translator | ||
run: sh ./test/message-generator/test/interop-jd-translator/interop-jd-translator.sh | ||
|
||
interop-proxy-with-multi-ups: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run interop-proxy-with-multi-ups | ||
run: sh ./test/message-generator/test/interop-proxy-with-multi-ups/interop-proxy-with-multi-ups.sh | ||
|
||
interop-proxy-with-multi-ups-extended: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run interop-proxy-with-multi-ups-extended | ||
run: sh ./test/message-generator/test/interop-proxy-with-multi-ups-extended/interop-proxy-with-multi-ups-extended.sh | ||
|
||
jds-do-not-fail-on-wrong-tsdatasucc: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run jds-do-not-fail-on-wrong-tsdatasucc | ||
run: sh ./test/message-generator/test/jds-do-not-fail-on-wrong-tsdatasucc/jds-do-not-fail-on-wrong-tsdatasucc.sh | ||
|
||
jds-do-not-panic-if-jdc-close-connection: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run jds-do-not-panic-if-jdc-close-connection | ||
run: sh ./test/message-generator/test/jds-do-not-panic-if-jdc-close-connection/jds-do-not-panic-if-jdc-close-connection.sh | ||
|
||
jds-do-not-stackoverflow-when-no-token: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run jds-do-not-stackoverflow-when-no-token | ||
run: sh ./test/message-generator/test/jds-do-not-stackoverflow-when-no-token/jds-do-not-stackoverflow-when-no-token.sh | ||
|
||
pool-sri-test-1-standard: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run pool-sri-test-1-standard | ||
run: sh ./test/message-generator/test/pool-sri-test-1-standard/pool-sri-test-1-standard.sh | ||
|
||
pool-sri-test-close-channel: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run pool-sri-test-close-channel | ||
run: sh ./test/message-generator/test/pool-sri-test-close-channel/pool-sri-test-close-channel.sh | ||
|
||
pool-sri-test-extended_0: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run pool-sri-test-extended_0 | ||
run: sh ./test/message-generator/test/pool-sri-test-extended_0/pool-sri-test-extended_0.sh | ||
|
||
pool-sri-test-extended_1: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run pool-sri-test-extended_1 | ||
run: sh ./test/message-generator/test/pool-sri-test-extended_1/pool-sri-test-extended_1.sh | ||
|
||
pool-sri-test-reject-auth: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run pool-sri-test-reject-auth | ||
run: sh ./test/message-generator/test/pool-sri-test-reject-auth/pool-sri-test-reject-auth.sh | ||
|
||
standard-coverage: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run standard-coverage | ||
run: sh ./test/message-generator/test/standard-coverage-test/standard-coverage-test.sh | ||
|
||
sv1-test: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run sv1-test | ||
run: sh ./test/message-generator/test/sv1-test/sv1-test.sh | ||
|
||
translation-proxy-broke-pool: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run translation-proxy-broke-pool | ||
run: sh ./test/message-generator/test/translation-proxy-broke-pool/translation-proxy-broke-pool.sh | ||
|
||
translation-proxy: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run translation-proxy | ||
run: sh ./test/message-generator/test/translation-proxy/translation-proxy.sh | ||
|
||
translation-proxy-old-share: | ||
needs: setup-mg-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run translation-proxy-old-share | ||
run: sh ./test/message-generator/test/translation-proxy-old-share/translation-proxy-old-share.sh |