Earthy kettledrum #2
Workflow file for this run
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: Core Database Tests In Dev Instance Mode | |
| on: | |
| pull_request: | |
| branches: [ main, dev ] | |
| paths: | |
| - 'nexus-macros/**' | |
| - 'nexus-db/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| jobs: | |
| test: | |
| name: Test nexus_engine in dev instance mode | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| env: | |
| NEXUS_API_KEY: "12345678901234567890123456789012" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo dependencies | |
| uses: actions/cache@v4 | |
| continue-on-error: true | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') || 'fallback' }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo- | |
| - name: Run dev instance tests | |
| run: | | |
| cd nexus-db | |
| cargo test --release --lib --features dev-instance -- --skip concurrency_tests |