-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: move from travis to github workflows
- Loading branch information
Showing
4 changed files
with
81 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: linting | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install pep8 | ||
- name: Run pep8 | ||
run: | | ||
pep8 fixture_magic --max-line-length=120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Python tests | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- python-version: "3.7" | ||
django-version: "3.2" | ||
- python-version: "3.9" | ||
django-version: "3.2" | ||
- python-version: "3.9" | ||
django-version: "3.2" | ||
- python-version: "3.10" | ||
django-version: "3.2" | ||
- python-version: "3.9" | ||
django-version: "4.0" | ||
- python-version: "3.10" | ||
django-version: "4.0" | ||
- python-version: "3.9" | ||
django-version: "4.1" | ||
- python-version: "3.10" | ||
django-version: "4.1" | ||
- python-version: "3.11" | ||
django-version: "4.1" | ||
- python-version: "3.9" | ||
django-version: "4.2" | ||
- python-version: "3.10" | ||
django-version: "4.2" | ||
- python-version: "3.11" | ||
django-version: "4.2" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip tox | ||
- name: Run Tests | ||
env: | ||
TOXENV: py${{ matrix.python-version }}-django${{ matrix.django-version }} | ||
run: tox |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters