Add config toggle for memory-mapped txn status file #6507
Workflow file for this run
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: PR verify | |
| on: pull_request | |
| permissions: | |
| contents: read # checkout & other read‑only operations | |
| actions: write # allows the cancel‑workflow step to call the Actions API | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| formatting-and-quick-compile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Check formatting | |
| run: mvn -B --quiet -T 2C formatter:validate impsort:check xml-format:xml-check | |
| - name: Quick compile | |
| run: mvn -B --quiet -T 2C compile -DskipTests -Pquick | |
| - name: Download all other dependencies | |
| run: mvn -B --quiet -T 2C dependency:go-offline | |
| compile: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Compile (mvn clean install) | |
| run: mvn -B clean install -DskipTests | |
| build: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| jdk: [ 11, 25 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.jdk }} | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build | |
| run: mvn --quiet clean && mvn -B --quiet -T 2C install -Pquick | |
| - name: Test | |
| run: mvn -B test -DskipITs -P-formatting -Dmaven.javadoc.skip -Djapicmp.skip -Denforcer.skip -Danimal.sniffer.skip | |
| - name: Publish Test Report | |
| if: failure() | |
| uses: scacap/action-surefire-report@v1.9.0 | |
| with: | |
| check_name: Test report - build - ${{ matrix.jdk }} | |
| integration-tests: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build | |
| run: mvn --quiet clean && mvn -B --quiet -T 2C install -Pquick | |
| - name: Verify | |
| run: mvn -B verify -PskipUnitTests,-formatting -Dmaven.javadoc.skip -Denforcer.skip -Danimal.sniffer.skip | |
| - name: Publish Test Report | |
| if: failure() | |
| uses: scacap/action-surefire-report@v1.9.0 | |
| with: | |
| check_name: Test report - integration-tests | |
| slow-tests: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build | |
| run: mvn --quiet clean && mvn -B --quiet -T 2C install -Pquick | |
| - name: Verify | |
| run: mvn -B verify -PslowTestsOnly,-skipSlowTests,-formatting -Dmaven.javadoc.skip -Djapicmp.skip -Denforcer.skip -Danimal.sniffer.skip | |
| - name: Publish Test Report | |
| if: failure() | |
| uses: scacap/action-surefire-report@v1.9.0 | |
| with: | |
| check_name: Test report - slow-tests | |
| package-assembly: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Run install | |
| run: mvn --quiet clean && mvn -B --quiet -T 2C install -Pquick | |
| - name: Package assembly | |
| run: mvn package -Passembly -DskipTests | |
| e2e: | |
| needs: formatting-and-quick-compile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libxml2-utils | |
| - name: Install Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Run end-to-end tests of RDF4J Server and Workbench | |
| working-directory: ./e2e | |
| run: ./run.sh | |
| copyright-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check copyright header present | |
| run: scripts/checkCopyrightPresent.sh | |