Start of integration tests

This commit is contained in:
Donkie
2023-05-18 14:38:28 +02:00
parent d3703d0d92
commit c6ee7df535
8 changed files with 133 additions and 0 deletions

23
.github/workflows/integration-test.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Integration Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
strategy:
matrix:
dbtype: ["postgres"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: isbang/compose-action@v1.4.1
with:
compose-file: "./tests_integration/docker-compose-${{ matrix.dbtype }}.yml"
up-flags: "--build --abort-on-container-exit"
down-flags: "--volumes"