test Actions #228
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: testing | |
run-name: test Actions | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-all-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: set up Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.6.1" | |
- name: install dependencies | |
run: | | |
set -x | |
poetry config virtualenvs.create false | |
poetry install | |
python -m playwright install | |
- run: pytest tests/ |