Skip to content

Commit

Permalink
try preexisting archive db
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Oct 4, 2024
1 parent be909a7 commit 73f1ff4
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- run: RUSTFLAGS="-D warnings" cargo clippy --all-targets

test:
runs-on: minafoundation-xlarge-runners
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
Expand All @@ -54,16 +54,12 @@ jobs:
~/.cargo/git
target
key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }}
- name: Setup
run: |
cp .env.example .env
just get-mainnet-archive-db
just pg
just wait-for-pg
- name: Test
run: just test
- name: Tear down
run: just pg-down
run: |
sed "s|postgres://mina:whatever@localhost:5432/archive|$MINAMESH_ARCHIVE_DATABASE_URL|g" .env.example > .env
just test
env:
MINAMESH_ARCHIVE_DATABASE_URL: ${{ secrets.MINAMESH_ARCHIVE_DATABASE_URL }}

rustfmt:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 73f1ff4

Please sign in to comment.