mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-30 16:15:51 +08:00
Fix pytest
This commit is contained in:
8
.github/workflows/unittest.yml
vendored
8
.github/workflows/unittest.yml
vendored
@@ -21,15 +21,13 @@ jobs:
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Enter directory
|
||||
run: |
|
||||
cd src
|
||||
- name: Install dependencies
|
||||
working-directory: ./src
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip install pytest
|
||||
- name: Test
|
||||
working-directory: ./src
|
||||
run: |
|
||||
pytest ./test/test_raw_parser.py
|
||||
pytest test/test_raw_parser.py
|
||||
Reference in New Issue
Block a user