Skip to content

Commit

Permalink
fix: Yet another attempt to fix workflows/CI-CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrod committed Sep 11, 2024
1 parent 78e829e commit e6e88e2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@ jobs:
run: poetry config virtualenvs.create false
- name: Install karney with dependencies
run: poetry install --with dev --no-interaction

- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff check ./src/
- name: Test with pytest
run: poetry run pytest tests/ --cov=karney --cov-report=xml
- name: Use Codecov to track coverage
uses: codecov/codecov-action@v2
if: matrix.python-version == '3.9'
with:
files: ./coverage.xml # coverage report

release-build:
concurrency: release-build
permissions:
Expand Down Expand Up @@ -104,7 +111,7 @@ jobs:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
name: python-package-distributions
path: dist/

- name: Publish release distributions to PyPI
Expand Down Expand Up @@ -136,7 +143,7 @@ jobs:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
name: python-package-distributions
path: dist/

- name: Publish release distributions to PyPI
Expand Down

0 comments on commit e6e88e2

Please sign in to comment.