Skip to content

Commit

Permalink
GA.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Apr 19, 2023
1 parent 5553189 commit 1b790bd
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/pythonpackage.yml
Expand Up @@ -3,14 +3,32 @@ name: Test
on: [push, pull_request]

jobs:
test:

ubuntu:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test
run: |
python -m pytest
macos:
runs-on: macos-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,7 +44,7 @@ jobs:
python -m pytest
release:
needs: [test]
needs: [ubuntu, macos]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')

Expand Down

0 comments on commit 1b790bd

Please sign in to comment.