Skip to content

Update testcontainers-scala-postgresql to 0.41.4 (#172) #349

Update testcontainers-scala-postgresql to 0.41.4 (#172)

Update testcontainers-scala-postgresql to 0.41.4 (#172) #349

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["*"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
RELEASE: yesh
JAVA_OPTS: "-Xmx4G"
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: sbt
- name: Compile
run: sbt --client 'compile; Test/compile'
- name: Run Unit and Stub tests
run: sbt --client fastTests
- name: Run Integration tests
run: sbt --client integrationTests
- name: Run Frontend tests
run: sbt --client frontendTests
- name: Publish local Docker image
run: sbt --client publishDocker
- uses: actions/upload-artifact@v3
if: failure()
with:
path: ./playwright-screenshots/
- uses: superfly/flyctl-actions/setup-flyctl@master
if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main')
- name: Deploy to fly.io
if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main')
run: "flyctl deploy -a jobby-web -i jobby-smithy4s:0.1.0-SNAPSHOT --local-only -c fly.toml"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}