chore(dx): remove deprecated crates extension #761
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: e2e Tests Wadm | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: e2e | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO: Re-enable the multitenant and upgrades tests in followup to #247 | |
# e2e_test: [e2e_multiple_hosts, e2e_multitenant, e2e_upgrades] | |
e2e_test: [e2e_multiple_hosts, e2e_upgrades] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest Rust stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: clippy, rustfmt | |
# Cache: rust | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: 'ubuntu-22.04-rust-cache' | |
# Run e2e tests in a matrix for efficiency | |
- name: Run tests ${{ matrix.e2e_test }} | |
id: test | |
env: | |
WADM_E2E_TEST: ${{ matrix.e2e_test }} | |
run: make test-individual-e2e | |
# if the previous step fails, upload logs | |
- name: Upload logs for debugging | |
uses: actions/upload-artifact@v4 | |
if: ${{ failure() && steps.test.outcome == 'failure' }} | |
with: | |
name: e2e-logs-${{ matrix.e2e_test }} | |
path: ./tests/e2e_log/* | |
# Be nice and only retain the logs for 7 days | |
retention-days: 7 |