Skip to content

Commit

Permalink
ci: Use official coveralls action
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 6, 2024
1 parent 1e1d0f1 commit e65df64
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 71 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
./manage.py makemigrations --check --dry-run
./manage.py check --fail-level WARNING
coverage run --source core,data_registry,exporter manage.py test
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github
- uses: coverallsapp/github-action@v2
services:
postgres:
image: postgres:12
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ repos:
hooks:
- id: pip-compile
name: pip-compile requirements.in
args: [requirements.in, -o, requirements.txt, --no-strip-extras]
args: [requirements.in, -o, requirements.txt]
- id: pip-compile
name: pip-compile requirements_dev.in
args: [requirements_dev.in, -o, requirements_dev.txt, --no-strip-extras]
files: ^requirements_dev\.(in|txt)$
args: [requirements_dev.in, -o, requirements_dev.txt]
files: ^requirements(_dev)?\.(in|txt)$
exclude: /migrations/
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in -o requirements.txt --no-strip-extras
# uv pip compile requirements.in -o requirements.txt
asgiref==3.7.2
# via django
certifi==2024.7.4
Expand All @@ -24,7 +24,7 @@ django-modeltranslation==0.18.10
# via -r requirements.in
flatterer==0.19.16
# via -r requirements.in
gunicorn[setproctitle]==22.0.0
gunicorn==22.0.0
# via -r requirements.in
idna==3.7
# via requests
Expand Down Expand Up @@ -76,5 +76,5 @@ urllib3==2.2.2
# via
# requests
# sentry-sdk
yapw[perf]==0.1.4
yapw==0.1.4
# via -r requirements.in
5 changes: 0 additions & 5 deletions requirements_dev.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
-r requirements.txt
black
coverage
coveralls
flake8
isort
pre-commit
psycopg2-binary
62 changes: 5 additions & 57 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,24 @@
# This file was autogenerated by uv via the following command:
# uv pip compile requirements_dev.in -o requirements_dev.txt --no-strip-extras
# uv pip compile requirements_dev.in -o requirements_dev.txt
asgiref==3.7.2
# via
# -r requirements.txt
# django
backports-entry-points-selectable==1.2.0
# via virtualenv
black==24.3.0
# via -r requirements_dev.in
certifi==2024.7.4
# via
# -r requirements.txt
# requests
# sentry-sdk
cfgv==3.3.1
# via pre-commit
charset-normalizer==3.1.0
# via
# -r requirements.txt
# requests
click==8.1.3
# via
# -r requirements.txt
# black
# flatterer
coverage==6.5.0
# via
# -r requirements_dev.in
# coveralls
coveralls==3.3.1
# via -r requirements_dev.in
distlib==0.3.3
# via virtualenv
dj-database-url==2.0.0
# via -r requirements.txt
django==4.2.15
Expand All @@ -44,18 +31,10 @@ django-markdownx==4.0.7
# via -r requirements.txt
django-modeltranslation==0.18.10
# via -r requirements.txt
docopt==0.6.2
# via coveralls
filelock==3.3.2
# via virtualenv
flake8==3.8.4
# via -r requirements_dev.in
flatterer==0.19.16
# via -r requirements.txt
gunicorn[setproctitle]==22.0.0
gunicorn==22.0.0
# via -r requirements.txt
identify==2.3.5
# via pre-commit
idna==3.7
# via
# -r requirements.txt
Expand All @@ -64,24 +43,16 @@ ijson==3.1.4
# via
# -r requirements.txt
# flatterer
isort==5.7.0
# via -r requirements_dev.in
markdown==3.4.3
# via
# -r requirements.txt
# django-markdownx
markdown-it-py==2.2.0
# via -r requirements.txt
mccabe==0.6.1
# via flake8
mdurl==0.1.2
# via
# -r requirements.txt
# markdown-it-py
mypy-extensions==0.4.3
# via black
nodeenv==1.6.0
# via pre-commit
numpy==1.25.0
# via
# -r requirements.txt
Expand All @@ -90,18 +61,14 @@ orjson==3.9.15
# via
# -r requirements.txt
# flatterer
# yapw
packaging==24.0
# via
# -r requirements.txt
# black
# gunicorn
pandas==1.5.0
# via
# -r requirements.txt
# flatterer
pathspec==0.9.0
# via black
pika==1.3.2
# via
# -r requirements.txt
Expand All @@ -110,20 +77,10 @@ pillow==10.3.0
# via
# -r requirements.txt
# django-markdownx
platformdirs==2.4.0
# via
# black
# virtualenv
pre-commit==3.8.0
# via -r requirements_dev.in
psycopg2==2.9.6
# via -r requirements.txt
psycopg2-binary==2.9.2
# via -r requirements_dev.in
pycodestyle==2.6.0
# via flake8
pyflakes==2.2.0
# via flake8
python-dateutil==2.8.2
# via
# -r requirements.txt
Expand All @@ -132,23 +89,16 @@ pytz==2021.1
# via
# -r requirements.txt
# pandas
pyyaml==6.0
# via pre-commit
requests==2.32.3
# via
# -r requirements.txt
# coveralls
# via -r requirements.txt
sentry-sdk==2.8.0
# via -r requirements.txt
setproctitle==1.2.2
# via
# -r requirements.txt
# gunicorn
# via -r requirements.txt
six==1.16.0
# via
# -r requirements.txt
# python-dateutil
# virtualenv
sqlparse==0.5.0
# via
# -r requirements.txt
Expand All @@ -163,7 +113,5 @@ urllib3==2.2.2
# -r requirements.txt
# requests
# sentry-sdk
virtualenv==20.10.0
# via pre-commit
yapw[perf]==0.1.4
yapw==0.1.4
# via -r requirements.txt

0 comments on commit e65df64

Please sign in to comment.