Skip to content

Commit 9e8a025

Browse files
committed
travis no more
1 parent d15938d commit 9e8a025

File tree

2 files changed

+27
-22
lines changed

2 files changed

+27
-22
lines changed

.github/workflow/test.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
python-version: [ "2.7", "3.9", "3.10" ]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install tox flake8 pytest
23+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
25+
- name: Test with tox
26+
run: |
27+
tox

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)