Update unittests.yml
Update unit tests for multiple Python versions.
@@ -10,13 +10,17 @@ jobs:
test:
runs-on: ubuntu-latest
-
+ strategy:
+ matrix:
+ python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
+ name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v2
- - name: Set up Python 3.9
- uses: actions/setup-python@v2
+ - name: Setup python
+ uses: actions/setup-python@v1
with:
- python-version: 3.9
+ python-version: ${{ matrix.python-version }}
+ architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
