Skip to content

Commit f564e77

Browse files
committed
Improve tests with pytest
1 parent c0d43fd commit f564e77

File tree

6 files changed

+592
-350
lines changed

6 files changed

+592
-350
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install package
2828
run: |
29-
python3 -m pip install --upgrade pip
30-
python3 -m pip install .
29+
python -m pip install --upgrade pip
30+
python -m pip install .
3131
- name: Test
3232
run: |
33-
python3 test.py
33+
pip install pytest
34+
pytest tests/

requirements-dev.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
beautifulsoup4>=4.12
22
lxml>=5.3.0
33
pandas>=2.0.3
4-
requests>=2.32.3
4+
requests>=2.32.3
5+
pytest>=8.3.2

test.py

Lines changed: 0 additions & 346 deletions
This file was deleted.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)