Merge pull request #100 from OpenAccess-AI-Collective/py310-tests
Browse files
.github/workflows/tests.yml
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
name: PyTest
|
| 2 |
-
on:
|
| 3 |
push:
|
| 4 |
pull_request:
|
| 5 |
|
| 6 |
jobs:
|
| 7 |
test:
|
| 8 |
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
| 9 |
timeout-minutes: 10
|
| 10 |
|
| 11 |
steps:
|
|
@@ -15,7 +18,7 @@ jobs:
|
|
| 15 |
- name: Setup Python
|
| 16 |
uses: actions/setup-python@v4
|
| 17 |
with:
|
| 18 |
-
python-version:
|
| 19 |
cache: 'pip' # caching pip dependencies
|
| 20 |
|
| 21 |
- name: Install dependencies
|
|
|
|
| 1 |
name: PyTest
|
| 2 |
+
on:
|
| 3 |
push:
|
| 4 |
pull_request:
|
| 5 |
|
| 6 |
jobs:
|
| 7 |
test:
|
| 8 |
runs-on: ubuntu-latest
|
| 9 |
+
strategy:
|
| 10 |
+
matrix:
|
| 11 |
+
python_version: ["3.9", "3.10"]
|
| 12 |
timeout-minutes: 10
|
| 13 |
|
| 14 |
steps:
|
|
|
|
| 18 |
- name: Setup Python
|
| 19 |
uses: actions/setup-python@v4
|
| 20 |
with:
|
| 21 |
+
python-version: ${{ matrix.python_version }}
|
| 22 |
cache: 'pip' # caching pip dependencies
|
| 23 |
|
| 24 |
- name: Install dependencies
|