diff --git a/.github/workflows/container_tests.yml b/.github/workflows/container_tests.yml new file mode 100644 index 0000000..b9b30e5 --- /dev/null +++ b/.github/workflows/container_tests.yml @@ -0,0 +1,26 @@ +--- +name: docker-compose container tests + +on: + push: + schedule: + # Every Sunday morning + - cron: "15 4 * * *" +jobs: + build: + name: init and up + runs-on: ubuntu-latest + strategy: + max-parallel: 1 + steps: + - uses: actions/checkout@v1 + + - name: init + run: bin/metacpan-docker init + + - name: start environment + run: docker-compose up -d apitest + - name: run tests + run: docker-compose exec -T apitest carton exec -- prove -lvr t/ + - name: down + run: docker-compose down