Skip to content

Commit

Permalink
Tried using a os matrix like I saw in gatorgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Poiuy7312 committed Sep 15, 2023
1 parent 2dab4d1 commit 79a1155
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ on:
# This job performs all necessary checks
jobs:
build:
# Use the latest version of Ubuntu on Microsoft Azure
runs-on: ubuntu-latest
# Use the latest version of Ubuntu,Windows and MacOS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Performs all actions on different versions of Python
python-version: ['3.11']
os: [ubuntu-latest]
# Performs all actions on different versions of Python and OS
python-version: ['3.10','3.11']
include:
- os: macos-latest
python-version: ["3.10","3.11"]
- os: windows-latest
python-version: ["3.10","3.11"]
# Define the workflow steps
steps:
# Checkout the code of the repository
Expand Down

0 comments on commit 79a1155

Please sign in to comment.