Repository navigation
Run the OpenJDK tests in CI, split and picked by change #26
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: test | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: test-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| with: | |
| version: 12 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/java-web | |
| key: jdk-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/build-jdk.sh') }} | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm jdk | |
| - run: pnpm typecheck | |
| - run: pnpm test | |
| - run: pnpm build | |
| - name: Node entry on the built dist/ | |
| run: node --expose-gc --test test/image.test.ts | |
| jtreg: | |
| uses: ./.github/workflows/jtreg.yml | |
| with: | |
| full: ${{ github.event_name == 'push' }} |