Skip to content

Commit

Permalink
speed up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Aug 1, 2023
1 parent 7f10fdc commit 6917212
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/wipac-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on: [push]

jobs:

py-versions:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.versions.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- id: versions
uses: WIPACrepo/wipac-dev-py-versions-action@v2.1

flake8:
runs-on: ubuntu-latest
steps:
Expand All @@ -12,10 +21,17 @@ jobs:
- uses: WIPACrepo/wipac-dev-flake8-action@v1.0

mypy:
needs: [py-versions]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py3: ${{ fromJSON(needs.py-versions.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py3 }}
- uses: WIPACrepo/wipac-dev-mypy-action@v2.0

py-setup:
Expand All @@ -42,16 +58,6 @@ jobs:
with:
base-keywords: "WIPAC IceCube"
py-versions:
needs: [py-setup]
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.versions.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- id: versions
uses: WIPACrepo/wipac-dev-py-versions-action@v2.1

pip-install:
needs: [py-versions]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6917212

Please sign in to comment.