Skip to content

Commit 9809050

Browse files
authored
👷 use github actions to run unit tests
1 parent bfb7502 commit 9809050

2 files changed

Lines changed: 32 additions & 55 deletions

File tree

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
name: Tests
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
# Note: Python 3.10 is not yet supported
12+
python-version: [3.6, 3.7, 3.8, 3.9]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v2-beta
17+
with:
18+
node-version: '12'
19+
check-latest: true
20+
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Install dependencies (tf ${{ matrix.tf-version }} )
27+
run: |
28+
pip install -r requirements.txt
29+
30+
- name: Run Tests
31+
run: |
32+
python -m unittest discover -s ./bibtexparser/tests

.travis.yml

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

0 commit comments

Comments
 (0)