Skip to content

Commit

Permalink
Merge 3e4b2d2 into 0199b25
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Jan 23, 2022
2 parents 0199b25 + 3e4b2d2 commit 3f8871a
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Continuous Integration

on:
push:
branches:
- 'master'
tags:
- '*'
pull_request:
types:
- 'opened'
- 'synchronize'
workflow_dispatch:
schedule:
# Schedule every Saturday at 00:30 UTC
- cron: '30 0 * * 6'

jobs:
python-ci:
uses: epsy/python-workflows/.github/workflows/python-ci.yaml@ykaiser/support-od
with:
package-folder: od
python-versions: |
[
'2.7',
'pypy2',
'3.5',
'pypy3',
'3.6',
'3.7'
]
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
author='Yann Kaiser',
author_email='kaiser.yann@gmail.com',
py_modules=('od', 'test_od'),
extras_require={
'test': ['unittest2', 'repeated_test'],
},
tests_require=['unittest2', 'repeated_test'],
test_suite='unittest2.collector',
keywords=[
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ skipsdist=true
3.5 = py35, coveralls, pyflakes
pypy3 = test-pypy3

[gh-actions]
python =
3.5: py35
pypy3: pypy3
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.10-dev: py310

[testenv]
deps=
unittest2
Expand Down

0 comments on commit 3f8871a

Please sign in to comment.