take 1 #1
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 | |
on: | |
- push | |
jobs: | |
test-job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Rust toolchain with rustup | |
run: nix develop --command cargo --version | |
- uses: Swatinem/rust-cache@v2 | |
- name: Start databases | |
run: nix develop --command just dbs/start | |
- name: Seed databases | |
run: nix develop --command just dbs/seed | |
- name: Run tests | |
run: nix develop --command just test |