Skip to content

Introduce e2e tests #1342

Introduce e2e tests

Introduce e2e tests #1342

Workflow file for this run

name: Explorer-Backend-CI
on:
push:
branches: [ master ]
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Setup sbt launcher
uses: sbt/setup-sbt@v1
- name: Check style and formatting
run: sbt ";scalafmtCheck;test:scalafmtCheck;scalafmtSbtCheck;scalastyle;test:scalastyle;"
- name: Test
run: sbt test
- name: Test assembly
run: sbt app/assembly