Skip to content

Commit

Permalink
[DEV-103519] Switch from travis to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
JVenberg committed Feb 22, 2024
1 parent aca7106 commit 3f0b5ca
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Tests and Linter

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.4, 3.5, 3.6]
django-version: [1.11]

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: |
pip install -q Django==${{ matrix.django-version }}
pip install -e .[flake8,tests]
- name: Lint with flake8
run: flake8

- name: Test with pytest
run: pytest
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 3f0b5ca

Please sign in to comment.