| 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 |
python-version: [3.8, 3.9, "3.10", "3.11"] |
| 12 |
|
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v2 |
| 15 |
- uses: actions/setup-node@v2-beta |
| 16 |
with: |
| 17 |
node-version: '12' |
| 18 |
check-latest: true |
| 19 |
|
| 20 |
- name: Set up Python ${{ matrix.python-version }} |
| 21 |
uses: actions/setup-python@v2 |
| 22 |
with: |
| 23 |
python-version: ${{ matrix.python-version }} |
| 24 |
|
| 25 |
- name: Install dependencies (tf ${{ matrix.tf-version }} ) |
| 26 |
run: | |
| 27 |
pip install -r requirements.txt |
| 28 |
|
| 29 |
- name: Run Tests |
| 30 |
run: | |
| 31 |
python -m unittest discover -s ./bibtexparser/tests |