Skip to content

Commit

Permalink
ci: run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Aug 3, 2024
1 parent be669f3 commit c7707b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-regtest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
# cache-to: type=gha,mode=max

- name: Run regtest tests
run: npx jest --runInBand -t 'regtest-env pox-4 stack-stx \(in reward-phase\)'
run: npx jest --runInBand -t 'regtest-env pox-4'
env:
NETWORK_UP_CMD: cd /tmp/regtest-env && docker compose down --volumes --remove-orphans --timeout=1 --rmi=all && docker compose up --build -d
NETWORK_DOWN_CMD: cd /tmp/regtest-env && docker compose down --volumes --remove-orphans --timeout=1
2 changes: 2 additions & 0 deletions src/tests/regtest-caller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
} from '../helpers';
import { networkEnvUp, networkEnvDown, withRetry } from '../utils';

jest.setTimeout(1_000_000_000);

describe('regtest-env pox-4 caller', () => {
const network = new StacksDevnet({ fetchFn: withRetry(3, fetch) }); // this test only works on regtest-env

Expand Down
2 changes: 1 addition & 1 deletion src/tests/regtest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('regtest-env pox-4', () => {
});

afterEach(async () => {
// await networkEnvDown();
await networkEnvDown();
});

test('stack-stx (in reward-phase)', async () => {
Expand Down

0 comments on commit c7707b1

Please sign in to comment.