do not fail if sqlite database does not exists when preparing #116
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: test | |
on: [ push ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Start container with test databases | |
run: docker-compose -f test/docker-compose.yaml up -d | |
- name: Prepare sqlite database | |
run: make prepare-sqlite | |
- name: Wait for docker containers to start | |
run: sleep 30 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Install tparse for pretty test results | |
run: go install github.com/mfridman/tparse@latest | |
- name: Run test | |
run: make test-all |