diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index c8380698..d5c6dc46 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -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 \ No newline at end of file + pytest test/test_raw_parser.py \ No newline at end of file