Skip to content

Commit

Permalink
Use matrix for python version and os
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Feb 21, 2024
1 parent 5f2fc2c commit 208da2b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/publish,yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
py-version: [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
permissions:
id-token: write
steps:
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ on: ["push", "pull_request"]
jobs:
build:
name: Run build CI
runs-on: ubuntu-latest
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
strategy:
matrix:
py-version: [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
os: [ubuntu-latest, windows-latest]
steps:
- name: Setup Python 3.X
- name: Setup Python 3.x
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py-version }}
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install requirements
Expand Down

0 comments on commit 208da2b

Please sign in to comment.