Skip to content

chore(licence): normalise to MPL-2.0 (code) + CC-BY-SA-4.0 (docs) (#63) #146

chore(licence): normalise to MPL-2.0 (code) + CC-BY-SA-4.0 (docs) (#63)

chore(licence): normalise to MPL-2.0 (code) + CC-BY-SA-4.0 (docs) (#63) #146

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: E2E and Integration Tests
on:
push: {branches: [main]}
pull_request: {branches: ['**']}
permissions:
contents: read
jobs:
e2e:
name: E2E tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run E2E tests
run: bash tests/e2e_test.sh
integration:
name: Integration tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Install Rust
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
- name: Run integration tests
run: |
if [ -f "Cargo.toml" ]; then
cargo test --test '*' 2>/dev/null || echo "No integration tests"
fi
if ls tests/integration/*.sh 2>/dev/null | head -1 | grep -q .; then
for f in tests/integration/*.sh; do bash "$f"; done
fi