Skip to content

Commit 8723bb2

Browse files
committed
ci setup
1 parent 9326c7a commit 8723bb2

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.11' # use your Python version
20+
python-version: '3.11'
2121

2222
- name: Install dependencies
2323
run: |

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
workflow_dispatch:
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- name: Set up Python
10+
uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.11'
13+
- name: Install dependencies
14+
run: |
15+
python -m pip install --upgrade pip
16+
pip install -r requirements.txt
17+
pip install playwright
18+
playwright install
19+
- name: Run tests
20+
run: pytest --maxfail=1 --disable-warnings -q

0 commit comments

Comments
 (0)