Skip to content

Commit

Permalink
build: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
timonviola committed Jul 18, 2024
1 parent 6107e3e commit 0ba0098
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,6 @@ jobs:
- name: Tests
run: hatch run +py=${{ matrix.python-version }} test:test

- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 80'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

release-build:
name: Build release distributions 🔨👷
needs: test
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ Issues = "https://github.com/dfds-data/dagcellent/issues"
Source = "https://github.com/dfds-data/dagcellent"


[tool.hatch.build]
artifacts = ["src/dagcellent/__about__.py"]
exclude = [".github","tests"]

[tool.hatch.envs.default]
installer = "uv"

Expand Down Expand Up @@ -69,6 +65,7 @@ extra-dependencies = [
"pytest-cov",
"pytest-mock >= 3.14.0",
]

[[tool.hatch.envs.test.matrix]]
python = ["3.11", "3.12"]

Expand Down

0 comments on commit 0ba0098

Please sign in to comment.