Skip to content

Commit 5692f98

Browse files
Merge pull request #769 from python-discord/bump-dependencies
Update To 3.10 And Bump Dependencies
2 parents c96e895 + f3b9c75 commit 5692f98

File tree

18 files changed

+515
-528
lines changed

18 files changed

+515
-528
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
branch = true
33
source =
44
pydis_site
5-
pydis_site/apps/admin
65
pydis_site/apps/api
76
pydis_site/apps/home
87
pydis_site/apps/staff

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/workflows/lint-test.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
2020
with:
2121
dev: true
22-
python_version: '3.9'
22+
python_version: '3.10'
2323

2424
# Start the database early to give it a chance to get ready before
2525
# we start running tests.
@@ -49,18 +49,20 @@ jobs:
4949
python manage.py makemigrations --check
5050
coverage run manage.py test --no-input
5151
coverage report -m
52+
coverage lcov
5253
env:
5354
CI: True
5455
DATABASE_URL: postgres://pysite:pysite@localhost:7777/pysite
5556
METRICITY_DB_URL: postgres://pysite:pysite@localhost:7777/metricity
5657
PYTHONWARNINGS: error
5758

5859
# This step will publish the coverage reports coveralls.io and
59-
# print a "job" link in the output of the GitHub Action
60-
- name: Publish coverage report to coveralls.io
61-
env:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63-
run: coveralls
60+
# link the report to the commit
61+
- name: Publish Coverage Report
62+
uses: coverallsapp/[email protected]
63+
with:
64+
github-token: ${{ secrets.GITHUB_TOKEN }}
65+
path-to-lcov: ./coverage.lcov
6466

6567
- name: Tear down docker-compose containers
6668
run: docker-compose stop

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pip-log.txt
3636
pip-delete-this-directory.txt
3737

3838
# Unit test / coverage reports
39+
*.lcov
3940
htmlcov/
4041
.tox/
4142
.coverage

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ repos:
2222
entry: poetry run flake8
2323
language: system
2424
types: [python]
25-
require_serial: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/chrislovering/python-poetry-base:3.9-slim
1+
FROM ghcr.io/chrislovering/python-poetry-base:3.10-slim
22

33
# Allow service to handle stops gracefully
44
STOPSIGNAL SIGQUIT

0 commit comments

Comments
 (0)