Skip to content

Commit

Permalink
Add GA build matrix for os and Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
st-te committed Mar 19, 2024
1 parent 6a78b20 commit a23390e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ jobs:

build:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11"]

# we can also specify the OS to run tests on
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

# a job is a seq of steps
steps:
Expand All @@ -22,7 +27,7 @@ jobs:
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
Expand Down

0 comments on commit a23390e

Please sign in to comment.