Repository navigation
feat(dsh): connect accounts and manage namespace skills and members #387
This file contains hidden or 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: 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: | |
| name: test (PostgreSQL ${{ matrix.postgres }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 90 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # 16 is the deployment default; 17 is verified. See docs/skillhub/faq.md. | |
| postgres: ["16", "17"] | |
| 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 -Dskillhub.test.postgres.image=postgres:${{ matrix.postgres }}-alpine |