File tree Expand file tree Collapse file tree 2 files changed +48
-48
lines changed Expand file tree Collapse file tree 2 files changed +48
-48
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name : Python application
5
+ on :
6
+ push :
7
+ branches :
8
+ - gonzobot
9
+ pull_request :
10
+ branches :
11
+ - gonzobot
12
+ jobs :
13
+ build :
14
+ strategy :
15
+ matrix :
16
+ python-ver :
17
+ - " 3.5"
18
+ - " 3.6"
19
+ - " 3.7"
20
+ - " 3.8"
21
+ - pypy3
22
+ asyncio-debug :
23
+ - 0
24
+ - 1
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : Set up Python ${{ matrix.python-ver }}
29
+ uses : actions/setup-python@v1
30
+ with :
31
+ python-version : ${{ matrix.python-ver }}
32
+ - uses : actions/cache@v1
33
+ with :
34
+ path : ~/.cache/pip
35
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36
+ restore-keys : |
37
+ ${{ runner.os }}-pip-
38
+ - name : Install dependencies
39
+ run : |
40
+ python -m pip install -U pip setuptools cython
41
+ sudo apt-get install -qq -y libenchant-dev libxml2-dev libxslt1-dev
42
+ pip install -Ur travis/requirements.txt
43
+ - name : Test with pytest
44
+ run : pytest
45
+ env :
46
+ PYTHONASYNCIODEBUG : ${{ matrix.asyncio-debug }}
47
+ PYTHONPATH : .
48
+ - uses : codecov/codecov-action@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments