Skip to content

Commit

Permalink
Move tests to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Jul 23, 2022
1 parent 49d4694 commit 7ff0804
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -m unittest discover
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

0 comments on commit 7ff0804

Please sign in to comment.