diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2021-01-07 20:59:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 20:59:58 -0800 |
commit | 0817b51dc3663d267f27eab01e16e8a41971a2b3 (patch) | |
tree | 33525782aca8135458699cde80a9e4983d131ae5 | |
parent | dcb70adadea408ebfa380f6b0e81b8d3ab4a57d0 (diff) | |
parent | 4d813919b4e98842a08010516663ccb8042fcd98 (diff) |
Merge pull request #934 from rolandwalker/RW/ci-python-39
Add Python 3.9 and "on: pull_request" stanza to CI spec
-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: | |