ETT-1141: dismiss role prompt in beforeEach when resource sharing user #384
Workflow file for this run
This file contains hidden or 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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| perl_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: hathitrust/imgsrv-sample-data | |
| path: sample-data | |
| - name: setup env | |
| run: /bin/bash ./setup-env.sh | |
| - name: Run perl tests | |
| run: docker compose run perl-test | |
| playwright: | |
| runs-on: ubuntu-latest | |
| needs: perl_test | |
| steps: | |
| # Check out this repo by default | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: hathitrust/imgsrv-sample-data | |
| path: sample-data | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: hathitrust/firebird-common | |
| path: firebird-common | |
| - name: setup env | |
| run: /bin/bash ./setup-env.sh | |
| - name: Build firebird | |
| run: docker compose run firebird ./bin/build.sh | |
| - name: Build pageturner | |
| run: docker compose run page-turner /htapps/babel/pt/bin/build.sh | |
| - name: Run playwright tests (PageTurner) | |
| run: ./bin/run_playwright_tests.sh | |
| - uses: actions/upload-artifact@v4 | |
| if: ${{ failure() }} | |
| with: | |
| name: test-results | |
| path: pt/web/firebird/test-results/ | |
| retention-days: 21 |