Skip to content

Fix the CI failures #13

Fix the CI failures

Fix the CI failures #13

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: dummy
AWS_SECRET_KEY: dummy
steps:
- uses: actions/checkout@v3
- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}-${{ hashFiles('docker-compose-tests.yml') }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- name: Build migrator
run: ./build.sh
- name: Set up services
run: docker compose -f docker-compose-tests.yml up -d --network ${{ job.container.network }}
- name: Wait for services to be up
run: sleep 30
- run: docker ps -a
- name: Run tests
run: sbt test
- name: Stop services
run: docker compose -f docker-compose-tests.yml down