From 3422906c0b07a1e2820d21948d4ac4bb9eb5b808 Mon Sep 17 00:00:00 2001 From: Darren Kelly Date: Mon, 25 Dec 2023 23:29:05 +0000 Subject: [PATCH] update actions --- .github/workflows/integration-tests.yaml | 13 +++++- .idea/workspace.xml | 54 ++++++++++-------------- integration_tests/package.json | 1 + 3 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 9f81ab2d3..a08662b29 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -11,4 +11,15 @@ jobs: - name: Run Compose run: | - docker-compose -f integration_tests/docker-compose.yaml up + docker-compose -f integration_tests/network/docker-compose.yaml up -d --wait + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Run Tests + run: | + cd integration_tests + yarn install + yarn test diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2ab702260..1f42853b4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,21 +5,9 @@ - - + - - - - - - - - - - - - + - - - - - - - - - - - - - - - + + + project + + $PROJECT_DIR$/integration_tests/node_modules/mocha + $PROJECT_DIR$/integration_tests + true + bdd + + TEST + $PROJECT_DIR$/integration_tests/test/accounts.test.ts + + + + + + project @@ -244,19 +236,19 @@ + - + - diff --git a/integration_tests/package.json b/integration_tests/package.json index 4725ea508..0ac5e3651 100644 --- a/integration_tests/package.json +++ b/integration_tests/package.json @@ -7,6 +7,7 @@ "license": "MIT", "private": false, "scripts": { + "postinstall": "hardhat compile", "test": "yarn mocha --exit", "generate:accounts": "ts-node scripts/generate-account.ts" },