Skip to content

L1-291: Cherry pick inflation unit tests (#1829) #394

L1-291: Cherry pick inflation unit tests (#1829)

L1-291: Cherry pick inflation unit tests (#1829) #394

---
name: Nightly pipeline integration tests
on:
workflow_dispatch:
schedule:
- cron: '00 01 * * *'
push:
branches:
- 'release-*'
concurrency:
group: "${{ github.ref }}-${{ github.workflow }}"
cancel-in-progress: true
jobs:
check-vars-and-secrets:
name: Check vars and secrets
uses: ./.github/workflows/_check-vars-and-secrets.yml
secrets: inherit
run-tests:
name: Run all unit and integration workspace tests
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@v4
- name: Run Test Suite
uses: actions-rs/cargo@v1
with:
command: test
run-liminal-integration-tests:
name: Run liminal integration tests
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@v4
- name: Run Test Suite
uses: actions-rs/cargo@v1
with:
command: test
args: --features "liminal-try-runtime liminal-runtime-benchmarks"
slack-notification:
name: Slack notification
runs-on: ubuntu-20.04
needs: [run-tests, run-liminal-integration-tests, check-vars-and-secrets]
if: ${{ !cancelled() }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Send Slack message
uses: ./.github/actions/slack-notification
with:
notify-on: "failure"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ONDUTY }}