Skip to content

Commit

Permalink
Revert "Modernize Package"
Browse files Browse the repository at this point in the history
This reverts commit dc43262.
  • Loading branch information
jheld committed Mar 18, 2024
1 parent dc43262 commit 01dcf49
Show file tree
Hide file tree
Showing 66 changed files with 1,473 additions and 2,866 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-22.04
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
django-version: [4.2, '5.0']
exclude:
# Django 5.0 only supports Python 3.10 to 3.12
- python-version: 3.8
django-version: 5.0
- python-version: 3.9
django-version: 5.0

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install django==${{ matrix.django-version }}
python -m pip install -e .
- name: Run Tests
run: |
cd ./easyaudit/tests
python -m manage test
78 changes: 0 additions & 78 deletions .github/workflows/cd.yml

This file was deleted.

79 changes: 0 additions & 79 deletions .github/workflows/ci.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ celerybeat-schedule
.env

# virtualenv
.venv/
venv/
ENV/

Expand All @@ -88,6 +87,3 @@ ENV/
# Rope project settings
.ropeproject
.idea

# DB
db.sqlite3
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml

This file was deleted.

49 changes: 49 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
language: python

dist: xenial

python:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- 'pypy3'

env:
- DJANGO="django>=2.2,<2.2.8"
- DJANGO="django>=2.2.8,<3.0"
- DJANGO="django>=3.0,<3.1"
- DJANGO="django>=3.1,<3.2"
- DJANGO="django>=3.2,<3.3"
- DJANGO="django>=4.0,<5.0"

install:
- pip install ${DJANGO}
- pip install -e .

before_script:
- cd easyaudit/tests

script:
- python manage.py test

matrix:
exclude:
- python: "3.5"
env: DJANGO="django>=3.0,<3.1"
- python: "3.5"
env: DJANGO="django>=3.1,<3.2"
- python: "3.5"
env: DJANGO="django>=3.2,<3.3"
- python: "3.8"
env: DJANGO="django>=2.0,<2.1"
- python: "3.8"
env: DJANGO="django>=2.1,<2.2"
- python: "3.8"
env: DJANGO="django>=2.2,<2.2.8"
- python: "3.5"
env: DJANGO="django>=4.0,<5.0"
- python: "3.6"
env: DJANGO="django>=4.0,<5.0"
- python: "3.7"
env: DJANGO="django>=4.0,<5.0"
4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit 01dcf49

Please sign in to comment.