More wiki #160
Workflow file for this run
This file contains 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: PR Tests for Github | |
on: | |
pull_request: | |
branches: | |
- master | |
- release/* | |
jobs: | |
run-precommit-tests: | |
runs-on: ubuntu-latest | |
container: ghcr.io/mlopatkin/andlogview-build-environment@sha256:de07d2f4cafea51cffe8fd09f7b5de4987a262ae829ca508468aaf5feafe668d | |
env: | |
PYTHON_BINARY: python3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run lint checks | |
run: bash tools/hooks/lint-all.sh | |
- name: Run unit tests | |
# gradle-build-action 2.9.0 | |
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a | |
with: | |
# Do not use Gradle Daemon because we only have a single invocation. | |
arguments: | | |
-Porg.gradle.java.installations.fromEnv=JDK8,JDK17 | |
-Porg.gradle.java.installations.auto-download=false | |
-Porg.gradle.java.installations.auto-detect=false | |
--no-daemon | |
--stacktrace | |
--continue | |
check | |
shadowDistZip | |
- name: Publish artifacts | |
uses: ./.github/actions/publish-gradle-outputs | |
prevent-fixup-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prevent fixup commits | |
# block-fixup-merge-action v2.0.0 | |
uses: 13rac1/block-fixup-merge-action@bd5504fb9ca0253e109d98eb86b7debc01970cdc |