Skip to content

Commit ee6225e

Browse files
committedApr 13, 2021
Moves to Github Actions
1 parent eb53f12 commit ee6225e

File tree

2 files changed

+31
-30
lines changed

2 files changed

+31
-30
lines changed
 

‎.github/workflows/run-tests.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
os: [windows-latest, ubuntu-latest, macos-latest]
18+
python-version: [3.6, 3.7, 3.8]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install -r requirements.txt
29+
- name: Run nosetests
30+
run: |
31+
nosetests

‎.travis.yml

-30
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.