File tree Expand file tree Collapse file tree 4 files changed +40
-20
lines changed Expand file tree Collapse file tree 4 files changed +40
-20
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ name : Run Test
2
+ on : [push, pull_request]
3
+ jobs :
4
+ Test :
5
+ runs-on : ${{ matrix.os }}
6
+ strategy :
7
+ matrix :
8
+ python-version :
9
+ - ' 2.7'
10
+ - ' 3.5'
11
+ - ' 3.6'
12
+ - ' 3.7'
13
+ - ' 3.8'
14
+ - ' 3.9'
15
+ - ' 3.10'
16
+ os : [ubuntu-latest]
17
+ steps :
18
+ - name : Check out repository code
19
+ uses : actions/checkout@v2
20
+ with :
21
+ fetch-depth : 0
22
+ - name : Set up Python ${{ matrix.python-version }}
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ${{ matrix.python-version }}
26
+ - name : Install dependencies
27
+ run : |
28
+ pip install -r .github/requirements.txt
29
+ - name : Build
30
+ run : |
31
+ python setup.py build
32
+ - name : Test with pytest
33
+ run : |
34
+ export PYTHONPATH=$(pwd)/build/lib
35
+ python -m pytest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- |travis | |rtd | |pypi |
2
-
3
- .. |travis | image :: https://img.shields.io/travis/com/RKrahl/pytest-dependency
4
- :target: https://travis-ci.com/RKrahl/pytest-dependency
5
- :alt: Travis build status
1
+ |gh-test | |rtd | |pypi |
6
2
3
+ .. |gh-test | image :: https://github.com/RKrahl/pytest-dependency/actions/workflows/run-tests.yaml/badge.svg
4
+ :target: https://github.com/RKrahl/pytest-dependency/actions/workflows/run-tests.yaml
5
+ :alt: GitHub Workflow Status
6
+
7
7
.. |rtd | image :: https://img.shields.io/readthedocs/pytest-dependency/latest
8
8
:target: https://pytest-dependency.readthedocs.io/en/latest/
9
9
:alt: Documentation build status
You can’t perform that action at this time.
0 commit comments