Skip to content

Commit

Permalink
chore: Add archery-commons github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Romuald Rousseau committed Oct 4, 2024
1 parent 0906380 commit 16c5210
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/archery-commons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: archery-commons

on:
push:
branches:
- '**'
- "!main"
paths:
- archery/**
- .github/workflows/archery-commons.yml

jobs:
build:
uses: ./.github/workflows/maven-build.yml
with:
service: archery-commons

test:
needs: [build]
uses: ./.github/workflows/maven-test.yml
with:
service: archery-commons
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
run: mvn -U -B clean initialize --projects :${{ inputs.service }} --also-make

- name: Test project
run: mvn -U -B test --projects :${{ inputs.service }} --also-make
run: mvn -U -B -Dtest=UnitTestSuite -Dsurefire.failIfNoSpecifiedTests=false test --projects :${{ inputs.service }} --also-make
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}

0 comments on commit 16c5210

Please sign in to comment.