fix(logging): use write_all for atomic JSONL line writes (#108) #118
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [ "main", "master" ] | |
| pull_request: | |
| branches: [ "main", "master" ] | |
| # Cancel in-progress runs for the same branch | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| e2e: | |
| name: E2E (${{ matrix.edition }} edition) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - edition: lite | |
| features: '' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libseccomp-dev | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| # Build the sevorix binary so e2e_cli and e2e_integrations can find it | |
| - name: Build binary | |
| run: cargo build ${{ matrix.features }} | |
| - name: Run e2e tests | |
| run: cargo test --test 'e2e_*' ${{ matrix.features }} |