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