6
0

Support python 3.10

This commit is contained in:
Jon Michael Aanes 2024-03-30 13:45:30 +01:00
parent 6fc1041d2a
commit 5382ef9eaf
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -11,12 +11,12 @@ on:
jobs:
test:
runs-on: python-latest
runs-on: ubuntu-latest
steps:
- name: Setting up python
run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Setting up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Installing Python Dependencies
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
- name: Check out repository code
@ -26,14 +26,14 @@ jobs:
- name: Test Python Code
run: python3 -m pytest test
publish:
runs-on: python-latest
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Setting up python
run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Installing dependencies
- name: Setting up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Installing Python Dependencies
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
- name: Check out repository code
uses: actions/checkout@v3