Skip to content

Parse JSON with openjson #228

Parse JSON with openjson

Parse JSON with openjson #228

name: "Test GraalVM Reachability Metadata Repository"
on:
push:
paths:
- 'common/graalvm-reachability-metadata/**'
- '.github/actions/**'
- '.github/workflows/test-graalvm-metadata.yml'
- 'gradle/libs.versions.toml'
pull_request:
paths:
- 'common/graalvm-reachability-metadata/**'
- '.github/actions/**'
- '.github/workflows/test-graalvm-metadata.yml'
- 'gradle/libs.versions.toml'
workflow_dispatch:
concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'graalvm/native-build-tools' }}
jobs:
test-graalvm-reachability-metadata:
name: "Test GraalVM Reachability Metadata"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java-version: [ 17 ]
os: [ ubuntu-20.04 ]
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
- name: "🔧 Prepare environment"
uses: ./.github/actions/prepare-environment
with:
java-version: ${{ matrix.java-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: "❓ Checkstyle"
run: ./gradlew :graalvm-reachability-metadata:checkstyleMain :graalvm-reachability-metadata:checkstyleTest
- name: "❓ GraalVM Reachability Metadata test"
run: ./gradlew :graalvm-reachability-metadata:test
- name: "📜 Upload tests results"
if: always()
uses: actions/upload-artifact@v3
with:
name: tests-results
path: common/graalvm-reachability-metadata/build/reports/tests/