Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Modernize package" #279

Merged
merged 1 commit into from
Mar 18, 2024
Merged
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
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
Loading