Skip to content

feat: adding support for github artifact repository #61

feat: adding support for github artifact repository

feat: adding support for github artifact repository #61

Workflow file for this run

name: Unit Tests and Analysis
on:
pull_request:
push:
branches:
- main
paths-ignore:
- ".github/**"
- "**.md"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./
with:
commands: |
mvn -B verify -P all-tests checkstyle:checkstyle -Dcheckstyle.skip=false --file pom.xml
dir: backend
java-distribution: temurin
java-version: "17"
repository: bcgov/nr-forest-client
sonar_args: >
-Dsonar.exclusions=**/coverage/**
-Dsonar.organization=bcgov-nr
-Dsonar.projectKey=bcgov-nr_action-test-and-analyse-java
-Dsonar.branch.name=main
sonar_project_token: ${{ secrets.SONAR_TOKEN }}