Skip to content

Commit

Permalink
Merge pull request #1901 from webknjaz/maintenance/gha-reusable-qa
Browse files Browse the repository at this point in the history
🎨🔧👷 Wire in linters into the main workflow
  • Loading branch information
webknjaz authored Jul 4, 2023
2 parents 1db8ddd + d8e302b commit 4b9cc32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ env:
PRE_COMMIT_COLOR
jobs:
linters:
name: Linters
uses: ./.github/workflows/reusable-qa.yml

test:
name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}
runs-on: ${{ matrix.os }}-latest
Expand Down Expand Up @@ -181,6 +185,7 @@ jobs:
if: always()

needs:
- linters
- pypy
- test

Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/qa.yml → .github/workflows/reusable-qa.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
name: QA

on:
pull_request:
push:
branches:
- main
tags:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
workflow_call:

jobs:
qa:
Expand Down

0 comments on commit 4b9cc32

Please sign in to comment.