Skip to content

Commit

Permalink
fix on working directory in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MalgorzataDzienia committed May 29, 2024
1 parent 1626495 commit 6ee5855
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
- name: Install git
run: apt-get -y update && apt-get install -y git-lfs

- name: Select framework folder
run: cd mrchecker-playwright-framework

- name: Install tests
run: mvn install -DskipTests --no-transfer-progress
working-directory: ./mrchecker-playwright-framework

- name: Run tests
run: mvn test -Dheadless=true
working-directory: ./mrchecker-playwright-framework

- name: Generate Allure report
run: mvn allure:report
working-directory: ./mrchecker-playwright-framework

- name: Publish test report
uses: peaceiris/actions-gh-pages@v4
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: allure-report
publish_dir: ./target/allure-report
publish_dir: ./mrchecker-playwright-framework/target/allure-report

0 comments on commit 6ee5855

Please sign in to comment.