build(deps): bump agilepathway/label-checker from 1.5.9 to 1.6.7 #905
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: Run Tests | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Checkstyle: | |
permissions: | |
id-token: write | |
checks: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: Run Checkstyle | |
run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures | |
Unit-Tests: | |
runs-on: ubuntu-latest | |
env: | |
JACOCO: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: Run unit tests | |
uses: ./.github/actions/run-tests | |
with: | |
command: ./gradlew test jacocoTestReport | |
Postgresql-Integration-Tests: | |
runs-on: ubuntu-latest | |
if: ${{ false }} | |
services: | |
postgres: | |
image: postgres:14.2 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_PASSWORD: password | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: Postgresql Tests | |
uses: ./.github/actions/run-tests | |
with: | |
command: ./gradlew test -DincludeTags="PostgresqlIntegrationTest" | |
Component-Tests: | |
env: | |
JACOCO: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: Component Tests | |
uses: ./.github/actions/run-tests | |
with: | |
command: ./gradlew test jacocoTestReport -DincludeTags="ComponentTest" | |
End-To-End-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: 'Build Launchers' | |
run: | | |
./gradlew -p system-tests/end2end-test clean shadowJar | |
- name: 'Install docker compose plugin' | |
run: | | |
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} | |
mkdir -p $DOCKER_CONFIG/cli-plugins | |
curl -SL https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose | |
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose | |
- name: 'Start FCC Runtime in Docker' | |
run: docker compose -f system-tests/end2end-test/docker-compose.yml up --build --wait | |
timeout-minutes: 10 | |
- name: 'End to End Integration Tests' | |
uses: ./.github/actions/run-tests | |
with: | |
command: ./gradlew system-tests:end2end-test:e2e-junit:test -DincludeTags="EndToEndTest" | |
API-Tests: | |
env: | |
JACOCO: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-build | |
- name: Component Tests | |
uses: ./.github/actions/run-tests | |
with: | |
command: ./gradlew test jacocoTestReport -DincludeTags="ApiTest" | |
Upload-Test-Report: | |
needs: | |
- Unit-Tests | |
- End-To-End-Tests | |
- Postgresql-Integration-Tests | |
- Component-Tests | |
permissions: | |
checks: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
path: artifacts | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
junit_files: "**/test-results/**/*.xml" | |
Upload-Coverage-Report-To-Codecov: | |
needs: | |
- Unit-Tests | |
- Component-Tests | |
- API-Tests | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
# Sources are needed for Codecov report | |
- uses: actions/checkout@v4 | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
path: artifacts | |
- name: CodeCov | |
uses: codecov/codecov-action@v3 |