Skip to content

Commit

Permalink
fix ci for java backend module
Browse files Browse the repository at this point in the history
  • Loading branch information
Dema-koder committed Jul 3, 2024
1 parent a711260 commit b2ca805
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-maven-${{ hashFiles('**/backend/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file backend/pom.xml
env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}

- name: Run tests
run: mvn test
run: mvn test --file backend/pom.xml
env:
MONGO_URL: ${{ secrets.MONGO_URL }}

0 comments on commit b2ca805

Please sign in to comment.