Skip to content

Commit 7261a32

Browse files
Update workflows with new Python versions
1 parent 5e5dcb6 commit 7261a32

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

‎.github/workflows/gh-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Test
4+
name: Various Checks and Tests
55

66
on:
77
push:
8-
branches: [ master, dev/jan, experimental ]
8+
branches: [ master, experimental ]
99
pull_request:
10-
branches: [ master, dev/jan, experimental ]
10+
branches: [ master, experimental ]
1111

1212
jobs:
1313
build:
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up Python 3.6
19+
- name: Set up Python 3.x
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.6
22+
python-version: '>=3.7 <=3.12'
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

‎.github/workflows/install-from-pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Test PyPI Installation
1+
name: Check PyPI Installation
22

33
on:
44
workflow_dispatch:
55

66
push:
7-
branches: [ master, dev/jan ]
7+
branches: [ master ]
88
pull_request:
9-
branches: [ master, dev/jan ]
9+
branches: [ master ]
1010

1111
jobs:
1212
build:
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Set up Python 3.6
18+
- name: Set up Python 3.x
1919
uses: actions/setup-python@v2
2020
with:
21-
python-version: 3.6
21+
python-version: '>=3.7 <=3.12'
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip

‎.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Set up Python
16+
- name: Set up Python 3.x
1717
uses: actions/setup-python@v1
1818
with:
19-
python-version: "3.6"
19+
python-version: '>=3.7 <=3.12'
2020
- name: Install Poetry
2121
run: |
2222
curl -fsS -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py

0 commit comments

Comments
 (0)