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