Compare commits

...

7 Commits

Author SHA1 Message Date
09ab269928 What about this... 2021-01-25 01:00:16 +00:00
f4d69446b1 Disable debug 2021-01-25 00:52:35 +00:00
933a48ad3a Still testing coveralls 2021-01-25 00:45:13 +00:00
aa0a1b50cd What about now 2021-01-25 00:33:05 +00:00
0f4061cf47 whoops 2021-01-25 00:23:17 +00:00
52d2f11475 *sigh* 2021-01-25 00:21:03 +00:00
062105e82e Nope, switch to monolithic build step 2021-01-25 00:19:49 +00:00
2 changed files with 7 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
[run]
source =
./
plugins =
django_coverage_plugin
omit =
*/migrations/*

View File

@@ -11,13 +11,13 @@ jobs:
env:
IMGUR_UPLOAD_CLIENT_ID: ${{ secrets.IMGUR_UPLOAD_CLIENT_ID }}
IMGUR_UPLOAD_CLIENT_SECRET: ${{ secrets.IMGUR_UPLOAD_CLIENT_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
max-parallel: 1
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
@@ -34,7 +34,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pycodestyle
pip install pycodestyle coverage coveralls django_coverage_plugin
pip install -r requirements.txt
python manage.py collectstatic --noinput
- name: Basic Checks
@@ -42,17 +42,7 @@ jobs:
pycodestyle . --exclude=migrations,importer*
python manage.py check
python manage.py makemigrations --check --dry-run
test:
runs-on: ubuntu-latest
container: python:3-slim
needs: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Install Dependencies
run: pip install coverage coveralls
- name: Run Tests
run: coverage run python manage.py test --verbosity=2
- name: Upload coverage data to coveralls.io
run: coveralls
run: |
coverage run manage.py test --verbosity=2
coveralls --service=github