Skip to content

Allow CI tests to run on PRs from external contributors #146

Allow CI tests to run on PRs from external contributors

Allow CI tests to run on PRs from external contributors #146

Workflow file for this run

name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Checkout code
uses: actions/checkout@v3
- name: Run lint
run: ./gradlew core:lint
- name: Run tests
run: ./gradlew testRelease
- name: Archive test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results-report
path: core/build/reports/tests/testReleaseUnitTest