diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index cc4dcc0..c197700 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -19,10 +19,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -30,3 +30,10 @@ jobs: - name: Test with pytest run: | pytest -v --junitxml=pytest.xml -o junit_logging=all . + - name: Test Report + uses: dorny/test-reporter@v2 + if: ${{ !cancelled() }} # run this step even if previous step failed + with: + name: Pytest Tests + path: pytest.xml + reporter: java-junit diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..03f586d --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +pythonpath = . \ No newline at end of file