Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
Update to current Node.js actions
Add python 3.10 and 3.11 versions for ubuntu
Move 3.6 to ubuntu-20.04 for arch complaints

Add windows and macos tests, just bracketing 3.6 and 3.11
  • Loading branch information
mthespian committed Nov 29, 2022
1 parent 6f65111 commit dd59ce5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.6'
- name: Install dependencies
Expand Down
27 changes: 22 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,33 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
max-parallel: 10
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.11"]
include:
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "3.8"
- os: ubuntu-latest
python-version: "3.7"
- os: "ubuntu-20.04"
python-version: "3.6"
- os: macos-latest
python-version: "3.6"
- os: windows-latest
python-version: "3.6"

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit dd59ce5

Please sign in to comment.