diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-05 06:48:58 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-06 11:22:50 -0500 |
| commit | 8f5fef1526d6f92126b53bd89bb76dd4c7a4d81b (patch) | |
| tree | a05fc194f0b0e2be16e4030f56e0db5fb69ab7f1 | |
| parent | fe6764399e9e2d12d60384685fd1da4449862091 (diff) | |
| download | python-coveragepy-git-8f5fef1526d6f92126b53bd89bb76dd4c7a4d81b.tar.gz | |
build: also test PyPy nightlies
| -rw-r--r-- | .github/workflows/python-nightly.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/.github/workflows/python-nightly.yml b/.github/workflows/python-nightly.yml index 58b18d3f..c6db61db 100644 --- a/.github/workflows/python-nightly.yml +++ b/.github/workflows/python-nightly.yml @@ -4,6 +4,9 @@ name: "Python Nightly Tests" on: + push: + branches: + - "**/*nightly*" schedule: # Run at 2:22am early Saturday morning Eastern time (6/7:22 UTC) # so that we get tips of CPython development tested. @@ -21,7 +24,7 @@ env: jobs: tests: - name: "Python nightly ${{ matrix.python-version }}" + name: "Python ${{ matrix.python-version }}" runs-on: ubuntu-latest strategy: @@ -34,14 +37,25 @@ jobs: - "3.9-dev" - "3.10-dev" - "3.11-dev" + # https://github.com/actions/setup-python#available-versions-of-pypy + - "pypy-3.7-nightly" + - "pypy-3.8-nightly" + - "pypy-3.9-nightly" fail-fast: false steps: - name: "Check out the repo" uses: "actions/checkout@v2" - - name: "Install Python ${{ matrix.python-version }}" + - name: "Install ${{ matrix.python-version }} with deadsnakes" uses: "deadsnakes/action@v2.1.1" + if: "!startsWith(matrix.python-version, 'pypy-')" + with: + python-version: "${{ matrix.python-version }}" + + - name: "Install ${{ matrix.python-version }} with setup-python" + uses: "actions/setup-python@v2" + if: "startsWith(matrix.python-version, 'pypy-')" with: python-version: "${{ matrix.python-version }}" @@ -52,6 +66,6 @@ jobs: python -m site python -m pip install -r requirements/tox.pip - - name: "Run tox for ${{ matrix.python-version }}" + - name: "Run tox" run: | python -m tox -- -rfsEX |
