From 8f5fef1526d6f92126b53bd89bb76dd4c7a4d81b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 5 Feb 2022 06:48:58 -0500 Subject: build: also test PyPy nightlies --- .github/workflows/python-nightly.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to '.github/workflows/python-nightly.yml') 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 -- cgit v1.2.1