projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0687872
)
Setup gh action to run tests
author
Josh Roesslein
<jroesslein@gmail.com>
Wed, 8 Jul 2020 03:25:38 +0000
(20:25 -0700)
committer
Josh Roesslein
<jroesslein@gmail.com>
Wed, 8 Jul 2020 03:25:38 +0000
(20:25 -0700)
.github/workflows/ci.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/.github/workflows/ci.yml
b/.github/workflows/ci.yml
new file mode 100644
(file)
index 0000000..
1d95a10
--- /dev/null
+++ b/
.github/workflows/ci.yml
@@ -0,0
+1,24
@@
+name: ci
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8, nightly]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup 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
+ pip install .[dev,test]
+ - name: Run tests
+ run: |
+ python setup.py nosetests