Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
50 changes: 50 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-test.txt -e .
- name: Run Tests
run: |
pwd
ls -al
ls -al tests
echo "coverage run --source=django12factor -m nose.core -w ${{ github.workspace }}/tests"
coverage run -m nose.core -w ${{ github.workspace }}/tests
coverage report -m
coverage lcov
- name: Run Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
- name: Run Flake8
run:
flake8 --max-line-length=120 django12factor tests setup.py
- name: Run pep257
run:
pep257 --ignore D200,D202,D203 django12factor
- name: Run mypy
run:
mypy --ignore-missing-imports --follow-imports=skip --disallow-untyped-calls --disallow-untyped-defs -p django12factor
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
doc8==0.8.0
coverage==4.5.2
flake8==3.6.0
doc8==1.1.1
coverage==7.2.5
flake8==6.0.0
nose==1.3.7
pep257==0.7.0
pygments==2.3.1
pygments==2.15.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from setuptools import setup, find_packages

__version__ = '1.3'
__version__ = '1.4'

HERE = os.path.dirname(__file__)

Expand Down
41 changes: 0 additions & 41 deletions tox.ini

This file was deleted.