Skip to content

Commit

Permalink
Re enable matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Valentino authored and Antonio Valentino committed Nov 15, 2023
1 parent 2817fa8 commit f4bbe7e
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,25 @@ jobs:
dist/*.whl
test:
runs-on: ${{ matrix.os }} ${{ matrix.python-version }}
# needs: build
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.python-version }}
needs: build
strategy:
matrix:
# python-version: ["3.7", "3.x"]
# os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"]
os: ["ubuntu-22.04"]
python-version: ["3.7", "3.x"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
# Only necessary if the test code is located outside the package
- uses: actions/checkout@v4
with:
submodules: 'true'

# - name: Get distribution
# uses: actions/download-artifact@v3
# with:
# name: dist
# path: dist
- name: Get distribution
uses: actions/download-artifact@v3
with:
name: dist
path: dist

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -72,12 +71,9 @@ jobs:

- name: Install
run: |
# python -m pip install --upgrade pip
# python -m pip install dist/*.whl
python -m pip install --upgrade pip build
python -m build .
python -m pip install --upgrade pip
python -m pip install dist/*.whl
- name: Install test dependencies
run: |
python -m pip install pytest pytest-cov
Expand Down

0 comments on commit f4bbe7e

Please sign in to comment.