Skip to content

Commit

Permalink
Moved cliqye network tests to nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Oct 11, 2023
1 parent eb18211 commit c28bfea
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/_unit-tests-and-static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --features "liminal-try-runtime liminal-runtime-benchmarks"
# yamllint disable-line rule:line-length
args: --features "liminal-try-runtime liminal-runtime-benchmarks" -- --skip clique_network
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
schedule:
- cron: '00 00 * * *'
# testing, remove before merge
push:
branches:
- A0-3298

concurrency:
group: "${{ github.ref }}-${{ github.workflow }}"
Expand All @@ -27,7 +31,7 @@ jobs:
slack-notification:
name: Slack notification
runs-on: ubuntu-20.04
needs: [runs-e2e-test-on-fe]
needs: [check-runtime-determinism]
if: ${{ !cancelled() }}
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-e2e-logic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:
- name: Send Slack message
uses: ./.github/actions/slack-notification
with:
notify-on: "always"
notify-on: "failure"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ONDUTY }}
30 changes: 26 additions & 4 deletions .github/workflows/nightly-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
schedule:
- cron: '01 00 * * *'
# testing, remove before merge
push:
branches:
- A0-3298

concurrency:
group: "${{ github.ref }}-${{ github.workflow }}"
Expand All @@ -15,8 +19,8 @@ jobs:
uses: ./.github/workflows/_check-vars-and-secrets.yml
secrets: inherit

build-tests:
name: Run unit tests
run-tests:
name: Run all unit and integration workspace tests
runs-on: [self-hosted, Linux, X64, large]
env:
CARGO_INCREMENTAL: 0
Expand All @@ -28,7 +32,25 @@ jobs:
- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v2

- name: Run Unit Test Suite
- name: Run Test Suite
uses: actions-rs/cargo@v1
with:
command: test

run-tests-liminal:
name: Run all unit and integration workspace tests (including liminal features)
runs-on: [self-hosted, Linux, X64, large]
env:
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: sccache
steps:
- name: Checkout Source code
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v2

- name: Run Test Suite
uses: actions-rs/cargo@v1
with:
command: test
Expand All @@ -37,7 +59,7 @@ jobs:
slack-notification:
name: Slack notification
runs-on: ubuntu-20.04
needs: [runs-e2e-test-on-fe]
needs: [run-tests, run-tests-liminal]
if: ${{ !cancelled() }}
steps:
- name: Checkout repository
Expand Down

0 comments on commit c28bfea

Please sign in to comment.