HALP
This commit is contained in:
parent
f5ad5f1ed4
commit
421e9807e6
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user