|
8 | 8 | branches: |
9 | 9 | - master |
10 | 10 | jobs: |
11 | | - tests: |
| 11 | + linux_tests: |
12 | 12 | runs-on: ${{ matrix.os }} |
13 | 13 | strategy: |
14 | 14 | matrix: |
15 | | - os: [ubuntu-latest, macos-latest, windows-latest] |
| 15 | + os: [ubuntu-latest] |
| 16 | + python-version: [3.6, 3.7, 3.8, 3.9] |
| 17 | + steps: |
| 18 | + - uses: actions/checkout@v2 |
| 19 | + - name: Setup Python ${{ matrix.python-version }} |
| 20 | + uses: actions/setup-python@v2 |
| 21 | + with: |
| 22 | + python-version: ${{ matrix.python-version }} |
| 23 | + - name: Display Python version |
| 24 | + run: python -c "import sys; print(sys.version)" |
| 25 | + - name: Install dependencies |
| 26 | + run: | |
| 27 | + python setup.py install |
| 28 | + pip install -r requirements-test.txt |
| 29 | + - name: Run tests |
| 30 | + run: pytest |
| 31 | + mac_tests: |
| 32 | + runs-on: ${{ matrix.os }} |
| 33 | + strategy: |
| 34 | + matrix: |
| 35 | + os: [macos-latest] |
| 36 | + python-version: [3.6, 3.7, 3.8, 3.9] |
| 37 | + steps: |
| 38 | + - uses: actions/checkout@v2 |
| 39 | + - name: Setup Python ${{ matrix.python-version }} |
| 40 | + uses: actions/setup-python@v2 |
| 41 | + with: |
| 42 | + python-version: ${{ matrix.python-version }} |
| 43 | + - name: Display Python version |
| 44 | + run: python -c "import sys; print(sys.version)" |
| 45 | + - name: Install dependencies |
| 46 | + run: | |
| 47 | + python setup.py install |
| 48 | + pip install -r requirements-test.txt |
| 49 | + - name: Run tests |
| 50 | + run: pytest |
| 51 | + win_tests: |
| 52 | + runs-on: ${{ matrix.os }} |
| 53 | + strategy: |
| 54 | + matrix: |
| 55 | + os: [windows-latest] |
16 | 56 | python-version: [3.6, 3.7, 3.8, 3.9] |
17 | 57 | steps: |
18 | 58 | - uses: actions/checkout@v2 |
|
0 commit comments