Skip to content

Commit

Permalink
Expand build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbn committed Jul 30, 2022
1 parent fb0902b commit 7cef8d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,26 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "nightly"]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
poetry build
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
poetry run pytest
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: python
dist: focal
python:
- nightly
- 3.11
- 3.10
- 3.9
- 3.8
Expand Down
Empty file added requirements.txt
Empty file.

0 comments on commit 7cef8d9

Please sign in to comment.