Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: push workflow #74

Merged
merged 12 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
run: poetry run black .
- name: Run isort
run: poetry run isort . --profile black
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "fix: style fixes"

code-quality:
needs: code-style
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2

code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: '1.3.2'
- name: Install dependencies
run: poetry install
- name: Run black
run: poetry run black .
- name: Run isort
run: poetry run isort . --profile black

code-quality:
needs: code-style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ venv/
testing/
*.xml
*.prom
poetry.lock
Loading