Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
GH: adding windows and mac for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ebranlard committed Nov 15, 2023
1 parent 5b5ee20 commit 5157125
Showing 1 changed file with 36 additions and 5 deletions.
41 changes: 36 additions & 5 deletions .github/workflows/development-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,47 @@ on:
# strategy:
# matrix:
# os: [macOS-10.14, ubuntu-18.04]
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: [3.7, 3.8, 3.9, 3.11, 3.12] #

jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.11, 3.12] #
include:
- os: ubuntu-latest
python-version: 3.7
python: xvfb-run python3
pip_arg: ""
- os: ubuntu-latest
python-version: 3.8
python: xvfb-run python3
pip_arg: ""
- os: ubuntu-latest
python-version: 3.9
python: xvfb-run python3
pip_arg: ""
- os: ubuntu-latest
python-version: 3.11
python: xvfb-run python3
pip_arg: ""
- os: ubuntu-latest
python-version: 3.12
python: xvfb-run python3
pip_arg: ""
- os: macos-11
python-version: 3.11
python: python3
pip_arg: ""
- os: windows-2019
python-version: 3.11
python: python
pip_arg: --user
runs-on: ${{ matrix.os }}


steps:
- name: Checkout
uses: actions/checkout@main
Expand All @@ -30,9 +64,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest
pip install pytest-cov
pip install -e .
- name: Tests
run: |
Expand Down

0 comments on commit 5157125

Please sign in to comment.