diff options
-rw-r--r-- | .github/workflows/main.yml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94af983..7ae7a6a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,20 @@ on: push: - branches: ["master"] + branches: + - master + - main + - v*.x pull_request: - branches: ["master"] + branches: + - master + - main + - v*.x workflow_dispatch: jobs: tests: name: "Python ${{ matrix.python-version }}" - runs-on: "ubuntu-latest" + runs-on: "ubuntu-20.04" strategy: fail-fast: false matrix: |