ci: Add merge queue actions #489
Workflow file for this run
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
name: Test the package | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
merge_group: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test on Ubuntu | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
mode: [debug, release] | |
steps: | |
- name: Prepare | |
run: chmod 755 $HOME | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Test judge-client-3 | |
run: | | |
cd mocktest | |
mode=${{ matrix.mode }} ./test_run.sh | |
- name: Debug | |
if: always() | |
run: journalctl -b |