feat: add provider & repo pages, fix search and ignore local db files #10
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: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: gradle | |
| - name: Build and test | |
| run: ./gradlew build test | |
| - name: Publish test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-reports | |
| path: "**/build/reports/tests/test/" | |
| retention-days: 14 | |
| e2e-test: | |
| runs-on: ubuntu-latest | |
| # E2E tests spin up containers; only run on push/PR to the main branches | |
| # to avoid burning minutes on every feature branch commit. | |
| if: > | |
| github.ref == 'refs/heads/main' || | |
| github.ref == 'refs/heads/jetty' || | |
| github.event_name == 'pull_request' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: gradle | |
| - name: Run e2e tests | |
| run: ./gradlew :jgit-proxy-server:e2eTest | |
| - name: Publish e2e test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-test-reports | |
| path: "jgit-proxy-server/build/reports/tests/e2eTest/" | |
| retention-days: 14 |