From 07b44efcf590e2e906c4e00dfae9794342ec90e7 Mon Sep 17 00:00:00 2001 From: Sunny Rangnani Date: Mon, 27 May 2024 18:41:43 -0400 Subject: [PATCH] minor tweaks --- .github/workflows/{prod.yml => release.yml} | 4 ++-- .github/workflows/{dev.yml => validate.yml} | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{prod.yml => release.yml} (96%) rename .github/workflows/{dev.yml => validate.yml} (91%) diff --git a/.github/workflows/prod.yml b/.github/workflows/release.yml similarity index 96% rename from .github/workflows/prod.yml rename to .github/workflows/release.yml index bc673de..4005830 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: prod +name: Release on: push: @@ -7,7 +7,7 @@ on: workflow_dispatch: jobs: - release: + publish: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/dev.yml b/.github/workflows/validate.yml similarity index 91% rename from .github/workflows/dev.yml rename to .github/workflows/validate.yml index e416c88..a3b87b5 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/validate.yml @@ -1,4 +1,4 @@ -name: dev +name: Validate on: push: @@ -28,12 +28,12 @@ jobs: run: | python -m pip install --upgrade pip setuptools poetry poetry install - - name: lint + - name: Linting run: | poetry run isort . poetry run black . poetry run flake8 . --extend-ignore=D,E501,W601 --extend-exclude=docs/ --statistics --count - - name: security + - name: Security run: poetry run bandit -c pyproject.toml -r . - - name: test + - name: Testing run: python -m unittest discover