File tree Expand file tree Collapse file tree 3 files changed +50
-51
lines changed Expand file tree Collapse file tree 3 files changed +50
-51
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 apt deps
39
+ run : sudo apt-get install -qq -y libenchant-dev libxml2-dev libxslt1-dev
40
+ - name : Install dependencies
41
+ run : |
42
+ pip install -U pip setuptools cython
43
+ pip install -Ur travis/requirements.txt
44
+ - name : Test with pytest
45
+ run : pytest
46
+ env :
47
+ PYTHONASYNCIODEBUG : ${{ matrix.asyncio-debug }}
48
+ PYTHONPATH : .
49
+ - uses : codecov/codecov-action@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
freezegun == 0.3.15
2
2
pytest == 5.4.1
3
3
pytest-asyncio == 0.10.0
4
- responses == 0.10.12
5
4
pytest-cov == 2.8.1
6
5
pytest-random-order == 1.0.4
7
- pytest-travis-fold == 1.3.0
8
- codecov == 2.0.22
6
+ responses == 0.10.12
9
7
-r ../requirements.txt
You can’t perform that action at this time.
0 commit comments