Update main.yml

This commit is contained in:
PerchunPak 2021-10-12 19:08:54 +03:00 committed by GitHub
parent ecee230c6f
commit 08f7d2efaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,46 +3,26 @@ name: main
on: on:
push: push:
branches: [main] branches: [main]
tags: tags: '*'
pull_request: pull_request:
jobs: jobs:
main: main:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest]
python: [pypy-3.7, 3.6, 3.7, 3.8, 3.9, '3.10.0-alpha - 3.10.999']
toxenv: [py]
include: include:
# linux
- os: ubuntu-latest
python: pypy-3.7
toxenv: py
- os: ubuntu-latest
python: 3.6
toxenv: py
- os: ubuntu-latest
python: 3.7
toxenv: py
- os: ubuntu-latest
python: 3.8
toxenv: py
- os: ubuntu-latest
python: 3.9
toxenv: py
- os: ubuntu-latest
python: '3.10.0-alpha - 3.10.999'
toxenv: py
# windows # windows
- os: windows-latest - os: windows-latest
python: 3.6 python: 3.6
toxenv: py
# misc # misc
- os: ubuntu-latest - python: 3.9
python: 3.9
toxenv: docs toxenv: docs
- os: ubuntu-latest - python: 3.9
python: 3.9
toxenv: linters toxenv: linters
- os: ubuntu-latest - python: 3.9
python: 3.9
toxenv: dogfood toxenv: dogfood
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps: