Skip to content

Commit

Permalink
Use shared CI (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
epsy committed Feb 7, 2022
1 parent 84fef20 commit 7958ed0
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 90 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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@main
with:
package-folder: clize
python-versions: |
[
'2.7',
'pypy2',
'3.5',
'3.6',
'3.7',
'3.8',
'3.9',
'pypy3'
]
84 changes: 0 additions & 84 deletions .github/workflows/tox-test.yml

This file was deleted.

15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
with open("README.rst") as fh:
long_description = fh.read()

test_requirements = [
'repeated_test',
'unittest2',
'python-dateutil',
'Pygments',
]

setup(
name='clize',
version='4.1.1',
Expand All @@ -23,14 +30,10 @@
'od',
'docutils ~= 0.17.0',
],
tests_require=[
'repeated_test',
'unittest2',
'python-dateutil',
'Pygments',
],
tests_require=test_requirements,
extras_require={
'datetime': ['python-dateutil'],
'test': test_requirements,
'clize-own-docs': [
'sphinx~=4.2.0',
'sphinx_rtd_theme',
Expand Down

0 comments on commit 7958ed0

Please sign in to comment.