Skip to content

Commit ef39aae

Browse files
committed
More fixes
1 parent d1ed055 commit ef39aae

2 files changed

Lines changed: 26 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
20-
persist-credentials: false
2120

2221
- uses: actions/setup-python@v6
2322
with:
@@ -52,11 +51,11 @@ jobs:
5251
uses: actions/checkout@v6
5352
with:
5453
fetch-depth: 0
55-
persist-credentials: false
5654

5755
- uses: actions/setup-python@v6
5856
with:
5957
python-version: '${{ matrix.python }}'
58+
cache: "pip"
6059

6160
- uses: gerlero/apt-install@f4fa5265092af9e750549565d28c99aec7189639
6261
name: Install gettext
@@ -78,7 +77,9 @@ jobs:
7877
coverage report
7978
# Codecov does not support the .coverage file generated by coverage, so we convert it to xml
8079
coverage xml
80+
8181
- name: Upload coverage reports to Codecov
82-
uses: codecov/codecov-action@v4
82+
uses: codecov/codecov-action@v5
8383
env:
8484
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
85+
slug: Stormbase/django-crispy-tableselect

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,28 @@ Source = "https://github.com/Stormbase/django-crispy-tableselect"
6666
[tool.hatch.version]
6767
path = "src/django_crispy_tableselect/__init__.py"
6868

69+
[tool.hatch.build.targets.sdist]
70+
artifacts = [
71+
# Include built static files that are gitignored and thus not included by default
72+
"src/django_crispy_tableselect/static/django_crispy_tableselect/*",
73+
# Include compiled translations that are gitignored and thus not included by default
74+
"src/django_crispy_tableselect/locale/*/LC_MESSAGES/*.mo",
75+
"sandbox/locale/*/LC_MESSAGES/*.mo",
76+
]
77+
# Manually specify what to include, otherwise it becomes a mess
78+
include = [
79+
"src/django_crispy_tableselect",
80+
"sandbox/",
81+
"tests/",
82+
"README.md",
83+
"LICENSE",
84+
"CHANGELOG.md",
85+
"CONTRIBUTORS.md",
86+
"SECURITY.md",
87+
"pyproject.toml",
88+
]
89+
90+
6991
[tool.hatch.build.targets.wheel]
7092
artifacts = [
7193
# Include built static files that are gitignored and thus not included by default

0 commit comments

Comments
 (0)