408 Add in depth documentation about MFA #429
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 tests" | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
playwright: | |
name: "Playwright Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository" | |
uses: "actions/checkout@v4" | |
- name: "Setup Python" | |
uses: "actions/setup-python@v4" | |
with: | |
python-version: 3.12 | |
- name: "Setup Node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: "Install all dependencies" | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/requirements.txt | |
pip install -r requirements/test-requirements.txt | |
cd admin_ui && npm install | |
- name: Build front end assets | |
run: cd admin_ui && npm run build | |
- name: Ensure Chromium is installed | |
run: python -m playwright install chromium --with-deps | |
- name: Start Playwright tests | |
run: ./scripts/run-e2e-test.sh | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: playwright-artifacts | |
path: videos/ | |
if: always() |