Skip to content

Commit

Permalink
Merge pull request #143 from jedie/github-actions
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
jedie authored Feb 4, 2021
2 parents 92ccbb1 + 07727dd commit 8b55abd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pythonapp.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: test
# https://github.com/actions/setup-python

name: CI

on:
schedule:
- cron: '0 8 * * *'
push:
branches: [master]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
fail-fast: false
matrix:
python-version: [3.9, 3.8, 3.7]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: '${{ matrix.python-version }}'

Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ isolated_build = True
envlist = py39-django{2.2,3.0,3.1},py38-django{2.2,3.0,3.1},py37-django{2.2,3.0,3.1}
skip_missing_interpreters = True
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
[testenv]
passenv = *
whitelist_externals = pytest
Expand Down

0 comments on commit 8b55abd

Please sign in to comment.