Skip to content

Commit

Permalink
Moves to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-Mc committed Apr 13, 2021
1 parent eb53f12 commit ee6225e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Link repository with GitHub Actions
# https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions

# Master branch only
name: run-tests
on:
push:
branches:
- master

# Set the language, install dependencies, and run the tests
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run nosetests
run: |
nosetests
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

0 comments on commit ee6225e

Please sign in to comment.