Migrate global event log and store to cats effect #1794
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: Delta Integration Tests | |
on: | |
pull_request: | |
paths: | |
- 'delta/**' | |
- 'storage/**' | |
- 'tests/**' | |
- 'build.sbt' | |
- 'project/**' | |
- '.github/workflows/ci-integration-tests.yml' | |
jobs: | |
run: | |
runs-on: it | |
timeout-minutes: 40 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Clean, build Delta & Storage images | |
run: | | |
sbt -Dsbt.color=always -Dsbt.supershell=false \ | |
clean \ | |
app/Docker/publishLocal \ | |
storage/Docker/publishLocal | |
- name: Start services | |
run: docker-compose -f tests/docker/docker-compose.yml up -d | |
- name: Waiting for Delta to start | |
run: | | |
URL="http://localhost:8080/v1/version" | |
curl --connect-timeout 3 --max-time 5 --retry 30 --retry-all-errors --retry-delay 3 --retry-max-time 90 $URL | |
- name: Test | |
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project tests" test | |
- name: Stop & clean Docker | |
if: ${{ always() }} | |
run: | | |
docker-compose -f tests/docker/docker-compose.yml down --rmi "local" --volumes | |
docker system prune --force --volumes |