Nightly Pipeline #1
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: Nightly Pipeline | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| env: | |
| JAVA_VERSION: "21" | |
| NODE_VERSION: "20" | |
| jobs: | |
| mutation-test-kotlin: | |
| name: Mutation Tests (Kotlin) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - run: ./gradlew pitest || true | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: pitest-reports | |
| path: "**/build/reports/pitest/" | |
| mutation-test-frontend: | |
| name: Mutation Tests (Frontend) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm --filter @private-stack/auth-ui stryker run || true | |
| system-tests: | |
| name: System / Coherence Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ env.JAVA_VERSION }} | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - run: docker compose up -d | |
| - name: Wait for services | |
| run: sleep 30 | |
| - run: ./gradlew :services:system-tests:test || true | |
| - run: docker compose down | |
| security-advanced: | |
| name: Advanced Security Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Semgrep | |
| uses: semgrep/semgrep-action@v1 | |
| with: | |
| config: auto |