From d7f10e3c66c809ec022f963d749e7b28cb7ed184 Mon Sep 17 00:00:00 2001 From: Francis Vaudry Date: Fri, 18 Jul 2025 20:08:18 -0400 Subject: [PATCH 1/3] Add base pythonpath for pytest --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pytest.ini 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 From 225b4bdc2adfeba223b273d3b76a52a66daa6ea5 Mon Sep 17 00:00:00 2001 From: Francis Vaudry Date: Fri, 18 Jul 2025 20:18:11 -0400 Subject: [PATCH 2/3] Add Junit reporting --- .github/workflows/python-app.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index cc4dcc0..08bcd4c 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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 From 41673b9595a9c11b34b5904ef0ec135359b0ee61 Mon Sep 17 00:00:00 2001 From: Francis Vaudry Date: Fri, 18 Jul 2025 20:31:01 -0400 Subject: [PATCH 3/3] Update python-app.yml --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 08bcd4c..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