Skip to content

Commit

Permalink
Merge pull request #2 from vtbassmatt/travisectomy
Browse files Browse the repository at this point in the history
switch to GitHub Actions
  • Loading branch information
vtbassmatt authored Mar 7, 2022
2 parents afaa9e4 + a2e8090 commit a2d3195
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 15 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and test package

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
django-version: ["3.2", "4.0"]

steps:
- uses: actions/checkout@v2
- 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
python -m pip install -q Django==${{ matrix.django-version }}
python setup.py -q install
# python -m pip install flake8 pytest
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Test with pytest
# run: |
# pytest
- name: Run ugly custom tests
run: |
python src/runtests.py
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

0 comments on commit a2d3195

Please sign in to comment.