Update unittests.yml
Trim versions
@@ -9,12 +9,11 @@ on:
jobs:
test1:
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
strategy:
matrix:
- os: [ubuntu-latest, windows-latest]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
- name: Python ${{ matrix.python-version }} ${{ matrix.os }}
+ name: Python ${{ matrix.python-version }} ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
@@ -35,20 +34,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ macos-latest ]
+ os: [ macos-latest, windows-latest ]
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
- name: Python ${{ matrix.python-version }} OSX
+ name: Python ${{ matrix.python-version }} ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install pytest
- sudo apt-get install xvfb
- name: Run tests
run: |
- xvfb-run pytest tests/unit
+ pytest tests/unit
