just don't close db connection like recommanded by apsw #23
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: Integrations Test | |
on: | |
push: | |
branches: "**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Integrations: | |
strategy: | |
fail-fast: false | |
# define the matrix | |
matrix: | |
# Units tests | |
include: | |
# Mainnet tests | |
# bootstrap, run the server with --api-only and run | |
# the locust tests | |
- name: Mainnet API Load | |
test-path: integrations/load_test.py | |
os: Linux-Large-1 | |
only_on_develop: true | |
# bootstrap, reparse 1000 blocks, | |
# rollback 3 checkpoints and catchup | |
#- name: Mainnet Bootstrap And Catchup | |
# test-path: integrations/mainnet_test.py | |
# os: Linux-Large-2 | |
# only_on_develop: true | |
# Regtest tests | |
# run scenarios on regtest | |
# testing rollback, reparse, reorg, etc | |
- name: Regtest Scenarios | |
test-path: integrations/regtest/scenarios_test.py | |
install_bitcoin: true | |
# Testnet4 tests | |
# bootstrap, reparse 1000 blocks, | |
# rollback 3 checkpoints and catchup | |
- name: Testnet4 Bootstrap And Catchup | |
test-path: integrations/testnet4_test.py | |
# Other tests | |
# run the docker-compose tests | |
- name: Docker Compose | |
test-path: integrations/dockercompose_test.py | |
# compare hashes between several servers | |
- name: Compare Hashes | |
test-path: integrations/comparehashes_test.py | |
# run pytest_action.yml for the matrix | |
uses: ./.github/workflows/pytest_action.yml | |
with: | |
name: ${{ matrix.name }} | |
test-path: ${{ matrix.test-path }} | |
install_bitcoin: ${{ matrix.install_bitcoin || false }} | |
only_on_develop: ${{ matrix.only_on_develop || false }} | |
secrets: inherit |