Skip to content

Commit

Permalink
Refactor publish workflow by removing lint and fix-lint-issues jobs, …
Browse files Browse the repository at this point in the history
…update test command.
  • Loading branch information
SamBroomy committed Dec 7, 2024
1 parent b84cf56 commit 80c1fab
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,9 @@ permissions:


jobs:

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-Linter
uses: super-linter/[email protected] # x-release-please-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

fix-lint-issues:
permissions:
# To write linting fixes
contents: write
Expand Down Expand Up @@ -84,13 +74,7 @@ jobs:
- name: Run Tests with Coverage
run: |
uv run pytest --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true
uv run pytest
- name: Minimize uv Cache
run: uv cache prune --ci
Expand Down

0 comments on commit 80c1fab

Please sign in to comment.