Skip to content

feat: add provider & repo pages, fix search and ignore local db files #10

feat: add provider & repo pages, fix search and ignore local db files

feat: add provider & repo pages, fix search and ignore local db files #10

Workflow file for this run

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