Fix pytest

This commit is contained in:
EstrellaXD
2023-03-14 23:18:23 +08:00
parent c3b0e4c086
commit df9ebc02e4

View File

@@ -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