File tree Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 1+ # Link repository with GitHub Actions
2+ # https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions
3+
4+ # Master branch only
5+ name : run-tests
6+ on :
7+ push :
8+ branches :
9+ - master
10+
11+ # Set the language, install dependencies, and run the tests
12+ jobs :
13+ build :
14+ runs-on : [windows-latest, ubuntu-latest, macos-latest]
15+ strategy :
16+ matrix :
17+ python-version : [3.6, 3.7, 3.8]
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v2
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -r requirements.txt
28+ - name : Run nosetests
29+ run : |
30+ nosetests
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments