tests: frontend test framework setup with playwright #118
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: ci | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'dev' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: update package manager & install python3 environment | |
run: | | |
sudo pip install poetry | |
poetry install --with build | |
- name: install npm environment | |
run: | | |
cd ui | |
npm ci | |
cd ../e2e_tests | |
npm ci | |
npx playwright install --with-deps | |
- name: run continuous integration pipeline | |
run: | | |
poetry run alfred ci |