Support python 3.10
This commit is contained in:
parent
6fc1041d2a
commit
5382ef9eaf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user