Skip to content

Commit

Permalink
ci:consolidate
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Nov 14, 2023
1 parent 1331ac4 commit a253e70
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,21 @@ on:

jobs:

linux:
runs-on: ubuntu-latest
core:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'

- run: pip install -e .[tests,lint]
- run: flake8
- run: mypy
- run: pytest

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'

- run: pip install -e .[tests]
- run: pytest

windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'

- run: pip install -e .[tests]
- run: pytest

0 comments on commit a253e70

Please sign in to comment.