Skip to content

Merge branch 'dev' into 4835-ImproveErrorHandling-Guava #33

Merge branch 'dev' into 4835-ImproveErrorHandling-Guava

Merge branch 'dev' into 4835-ImproveErrorHandling-Guava #33

Workflow file for this run

# (c) https://github.com/MontiCore/monticore
name: Test Proposed Changes
concurrency: # run this test workflow only once per "branch"
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push: # run this pipeline on every push
paths-ignore:
- "*.md" # do not run this pipeline if the only change was to markdown files
branches-ignore: [ "dev" ] # Do not run this on the default branch
env:
GRADLE_VERSION: 7.6.4 # Gradle version used
GRADLE_CLI_OPTS: "-Pci --build-cache " # CLI options passed to Gradle
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: "test-cache-${{ github.head_ref }}.${{ github.sha }}"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{env.GRADLE_VERSION}}
- name: Gradle build
run: gradle build ${{env.GRADLE_CLI_OPTS}}
- name: Upload Test Report
uses: actions/upload-artifact@v4
if: always() # always run even if the previous step fails
with:
name: junit-test-results
path: '**/target/test-results/test/TEST-*.xml'
retention-days: 1
# Run the MontiVerse pipeline (tests this change on a suite of projects)
trigger-montiverse:
needs: [ build ]
uses: MontiCore/monticore/.github/workflows/call_montiverse_branch.yml@dev
with:
project: "SECOMMONS"
permissions: # allow this action to give feedback on its checks
pull-requests: write
secrets: inherit