Serve the endpoints that were missing #451
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: Java CI | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ '21', '25' ] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| - name: Build with Maven | |
| run: mvn --no-transfer-progress -B clean verify | |
| upstream-suite: | |
| name: Upstream httpbin suite | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: true | |
| - name: Set up JDK | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '21' | |
| cache: 'maven' | |
| - name: Build the executable jar | |
| run: mvn --no-transfer-progress -B -DskipTests package | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| cache: 'pip' | |
| cache-dependency-path: src/test/python/requirements.txt | |
| - name: Install the upstream suite | |
| working-directory: src/test/python | |
| run: pip install ./upstream -r requirements.txt | |
| - name: Run the upstream suite | |
| working-directory: src/test/python | |
| run: pytest |