6
0
This commit is contained in:
Jon Michael Aanes 2024-03-30 14:22:51 +01:00
parent f5ad5f1ed4
commit 421e9807e6
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -1,7 +1,7 @@
name: Python Package name: Python Package
env: env:
PYTHON_VERSION: 3.11 PYTHON_VERSION: 3.12.2
on: on:
workflow_call: workflow_call:
@ -14,6 +14,8 @@ on:
jobs: jobs:
test: test:
container:
image: python:3
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}} - name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}}
@ -29,6 +31,8 @@ jobs:
- name: Test Python Code - name: Test Python Code
run: python3 -m pytest test run: python3 -m pytest test
publish: publish:
container:
image: python:3
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [test] needs: [test]
steps: steps: