Bump dev/worldmods/mesecons from 31b5606
to 320ec93
#2894
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: integration_test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Install npm modules | |
run: | | |
cd public && npm ci && npm run jshint && npm run bundle | |
- name: Start services | |
run: | | |
docker compose up -d postgres | |
sleep 10 | |
docker compose up -d blockexchange | |
- name: Wait for services to come up | |
uses: cygnetdigital/[email protected] | |
with: | |
url: 'http://localhost:8080/' | |
responseCode: '200' | |
timeout: 120000 | |
interval: 1000 | |
- name: Execute tests | |
run: docker compose up --exit-code-from integration-test integration-test | |
- name: Execute mod tests | |
run: docker compose up --exit-code-from mod-integration-test mod-integration-test | |
- uses: shogo82148/[email protected] | |
with: | |
path-to-profile: profile.cov |