ci(meta): merge qc workflows

This commit is contained in:
Mark Joshwel 2023-06-17 03:26:53 +00:00 committed by Mark Joshwel
parent f374243e7c
commit f7da80c5e4
2 changed files with 20 additions and 26 deletions

View file

@ -1,25 +0,0 @@
name: qc (continuity)
on:
workflow_dispatch:
push:
jobs:
analyse:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: install devbox
uses: jetpack-io/devbox-install-action@v0.3.0
- name: install dependencies
run: devbox run poetry install
- name: install dependencies
id: build
run: devbox run poetry build
- name: run tests
run: devbox run poetry run python test.py

View file

@ -1,4 +1,4 @@
name: qc (quality)
name: qc
on:
workflow_dispatch:
@ -29,3 +29,22 @@ jobs:
- name: analyse isort compliance
run: devbox run poetry run "isort --check surplus.py test.py"
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: install devbox
uses: jetpack-io/devbox-install-action@v0.3.0
- name: install dependencies
run: devbox run poetry install
- name: install dependencies
id: build
run: devbox run poetry build
- name: run tests
run: devbox run poetry run python test.py