Skip to content

Commit

Permalink
Test workflow: Setup-Test-Teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Sep 26, 2024
1 parent aad8519 commit 9d4f5ee
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1

Check warning on line 47 in .github/workflows/checks.yaml

View workflow job for this annotation

GitHub Actions / cspell

Unknown word (dsherret)
- uses: extractions/setup-just@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }}
- run: |
cargo install just

- name: ⚙️ Setup
run: |
just get-mainnet-archive-db
just pg
just wait-for-pg
just test
just pg-down
- name: 🧪 Test
run: just test

- name: 👨‍🔧 Tear down
run: just pg-down

rustfmt:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9d4f5ee

Please sign in to comment.