From 80c1fab2b043d5b9b3c2351e7b070f9f34f1d364 Mon Sep 17 00:00:00 2001 From: SamBroomy <36888606+SamBroomy@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:27:09 +0000 Subject: [PATCH] Refactor publish workflow by removing lint and fix-lint-issues jobs, update test command. --- .github/workflows/publish.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f9dcfd0..3ed4dfe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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/super-linter@v7.2.0 # x-release-please-version - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - fix-lint-issues: permissions: # To write linting fixes contents: write @@ -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