name: backend-tests # Backend test suite for pull requests. Testcontainers-based tests need a # Docker daemon, which the GitHub-hosted runners provide. on: pull_request: push: branches: ["feat/authoring-*"] jobs: test: runs-on: ubuntu-latest timeout-minutes: 90 steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: temurin java-version: 21 cache: maven - name: Set up Go for integration tests uses: actions/setup-go@v5 with: go-version-file: github-sync-go/go.mod cache-dependency-path: github-sync-go/go.mod - name: Compile Go integration test dependencies working-directory: github-sync-go run: go test ./internal/worker -run '^$' - name: Backend tests run: cd server && ./mvnw -B test