diff --git a/.gitea/workflows/python-package.yaml b/.gitea/workflows/python-package.yaml index 912ab4b..47e9240 100644 --- a/.gitea/workflows/python-package.yaml +++ b/.gitea/workflows/python-package.yaml @@ -1,7 +1,7 @@ name: Python Package env: - PYTHON_VERSION: 3.11 + PYTHON_VERSION: 3.12.2 on: workflow_call: @@ -14,6 +14,8 @@ on: jobs: test: + container: + image: python:3 runs-on: ubuntu-latest steps: - name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}} @@ -29,6 +31,8 @@ jobs: - name: Test Python Code run: python3 -m pytest test publish: + container: + image: python:3 runs-on: ubuntu-latest needs: [test] steps: