diff options
author | Roland Walker <walker@pobox.com> | 2021-01-05 15:21:06 -0500 |
---|---|---|
committer | Roland Walker <walker@pobox.com> | 2021-01-05 15:21:06 -0500 |
commit | 4d813919b4e98842a08010516663ccb8042fcd98 (patch) | |
tree | 33525782aca8135458699cde80a9e4983d131ae5 | |
parent | dcb70adadea408ebfa380f6b0e81b8d3ab4a57d0 (diff) |
add Python 3.9 and "on pull_request" to CI
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aad35d9..413b749 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,7 @@ name: mycli on: - push: - branches-ignore: - - 'master' + pull_request: paths-ignore: - '**.md' @@ -14,7 +12,7 @@ jobs: strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9] steps: @@ -48,10 +46,8 @@ jobs: ./setup.py test --pytest-args="--cov-report= --cov=mycli" - name: Lint - env: - GIT_BRANCH: ${{ github.ref }} run: | - ./setup.py lint --branch="$GIT_BRANCH" + ./setup.py lint --branch=HEAD - name: Coverage run: | |