Skip to content

Commit

Permalink
Support CI build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
schivmeister committed Oct 20, 2023
1 parent 11018fc commit 1263e9e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ concurrency:
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
name: pytest
runs-on: ubuntu-latest
# A job can run for multiple environments given by a strategy matrix
strategy:
# A job can run for multiple environments
matrix:
python-version: ['3.8', '3.11']
os: ['ubuntu-latest', 'windows-latest']
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -36,6 +37,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Windows tooling
if: matrix.os == 'windows-latest'
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install make
- name: Install dependencies
run: |
make install-all
Expand Down

0 comments on commit 1263e9e

Please sign in to comment.