Skip to content

[GR-71397] Splitting out the different graalpy approaches #186

[GR-71397] Splitting out the different graalpy approaches

[GR-71397] Splitting out the different graalpy approaches #186

Workflow file for this run

name: Run CI unittests
on:
pull_request:
types: [opened, ready_for_review, synchronize]
workflow_dispatch:
jobs:
abi-check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install libabigail
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y abigail-tools
- name: Get mx and labsjdk
shell: bash
run: |
git config --global http.timeout 600
git clone https://github.com/graalvm/mx
./mx/mx fetch-jdk -A --jdk-id labsjdk-ce-latest
- name: Setup mx and JAVA_HOME
shell: bash
run: |
echo "$(pwd)/mx/" >> "$GITHUB_PATH"
echo "JAVA_HOME=$HOME/.mx/jdks/labsjdk-ce-latest" >> "$GITHUB_ENV"
echo "JVMCI_VERSION_CHECK=ignore" >> "$GITHUB_ENV"
- name: Run abi-check
shell: bash
run: mx abi-check
build-standalone-artifacts:
if: github.event.pull_request.draft == false && success()
uses: ./.github/workflows/ci-matrix-gen.yml
with:
jobs_to_run: ^(?:python-svm-build|style|style-ecj)-gate-.*$
logs_retention_days: 0
artifacts_retention_days: 0
run-tests:
if: success()
needs: build-standalone-artifacts
uses: ./.github/workflows/ci-matrix-gen.yml
with:
jobs_to_run: ^(?!python-svm-build|style).*-gate.*$
export_test_reports: true
collect-reports:
if: always()
needs: run-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Download test reports
uses: actions/download-artifact@v5
with:
pattern: '*_test_reports'
merge-multiple: true
path: test-reports
- name: Merge test reports
run: |
python3 .github/scripts/merge_reports.py \
--outfile merged_test_reports.json \
--dir test-reports \
--pattern "**/*.json" \
--status-filter "failed"
- name: Upload merged test report
if: always()
uses: actions/upload-artifact@v5
with:
name: merged_test_reports
path: merged_test_reports.json
if-no-files-found: ignore