updated workflows
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
name: Code Quality Pipeline
|
name: Code Quality Pipeline
|
||||||
run-name: ${{ gitea.actor }} is running the Code Quality Pipeline
|
run-name: ${{ gitea.actor }} is running the Code Quality Pipeline
|
||||||
runs-on: ubuntu-latest
|
|
||||||
on: push
|
on: push
|
||||||
image: python:3.12
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
name: CI Pipeline
|
name: CI Pipeline
|
||||||
run-name: ${{ gitea.actor }} is running the CI Pipeline
|
run-name: ${{ gitea.actor }} is running the CI Pipeline
|
||||||
runs-on: ubuntu-latest
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@@ -23,10 +22,10 @@ jobs:
|
|||||||
poetry install
|
poetry install
|
||||||
- name: PEP8 Check
|
- name: PEP8 Check
|
||||||
run: |
|
run: |
|
||||||
poetry run flake8 ./src --benchmark
|
poetry run flake8 . --benchmark
|
||||||
- name: Type Check
|
- name: Type Check
|
||||||
run: |
|
run: |
|
||||||
poetry run mypy ./src --disable-error-code=import-untyped
|
poetry run mypy . --disable-error-code=import-untyped
|
||||||
publish:
|
publish:
|
||||||
name: Build and Publish
|
name: Build and Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user