Skip to content

Commit

Permalink
fix: push workflow (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karina5005 committed Oct 9, 2023
1 parent 7da2a89 commit 625ba1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
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

0 comments on commit 625ba1a

Please sign in to comment.