Skip to content

Commit

Permalink
multi OS support added to main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vandoo committed Apr 12, 2023
1 parent 147c48a commit d9606ec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
build:

# we can also specify the OS to run tests on
runs-on: mint-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, '3.10']

# a job is a seq of steps
steps:
Expand All @@ -19,10 +23,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python 3.9
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
Expand Down

0 comments on commit d9606ec

Please sign in to comment.