341 adding delete buttons for files updloaded processed or predicted #279
Workflow file for this run
This file contains 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: playwright | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- "release/*" | |
env: | |
CI: true | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Create .env | |
run: | | |
echo "ROLLBAR_ACCESS_TOKEN=${{ secrets.ROLLBAR_ACCESS_TOKEN }}" > .env | |
- name: Build and run tests | |
run: docker compose -p beapengine-staging -f docker-compose-staging.yml up --build -d | |
- name: Install dependencies | |
run: | | |
cd frontend | |
npm install -g yarn && yarn | |
- name: Install Playwright Browsers | |
run: | | |
cd frontend | |
yarn playwright install --with-deps | |
- name: Run Playwright tests | |
run: | | |
cd frontend | |
yarn playwright test | |
- name: Clean up containers | |
if: always() | |
run: docker compose -p beapengine-staging -f docker-compose-staging.yml down | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: frontend/playwright-report/ | |
retention-days: 30 |