From 8597aaf22701e7bd5686a62af970a0c6e1652e70 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 6 Nov 2021 07:04:17 +0100 Subject: [PATCH] GitHub Actions test: Add Python 3.10 Related to #646 and Homebrew/homebrew-core#88864 https://pythoninsider.blogspot.com/2021/10/python-3100-is-available.html "3.10" ___must___ be quoted in YAML. https://dev.to/hugovk/the-python-3-1-problem-85g --- .github/workflows/test.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfff3c5a2..3393fd069 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,16 +17,19 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.6 + python-version: "3.6" - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: "3.7" - uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: "3.8" - uses: actions/setup-python@v2 with: - python-version: 3.9.5 + python-version: "3.9.5" + - uses: actions/setup-python@v2 + with: + python-version: "3.10" - name: Install cffi and virtualenv run: pip install cffi virtualenv - uses: actions-rs/toolchain@v1 @@ -89,7 +92,7 @@ jobs: args: --target x86_64-unknown-linux-musl - uses: actions/setup-python@v2 with: - python-version: pypy-3.7 + python-version: "pypy-3.7" - name: test build pypy wheel run: | cargo run -- build -i pypy3 -m test-crates/pyo3-mixed-submodule/Cargo.toml @@ -160,7 +163,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: "3.8" - uses: docker/setup-buildx-action@v1 - name: Cache Docker layers uses: actions/cache@v2 @@ -208,9 +211,9 @@ jobs: - target: armv7-unknown-linux-gnueabihf arch: armv7 abi: cp39-cp39 - # - target: s390x-unknown-linux-gnu - # arch: s390x - # abi: cp310-cp310 + - target: s390x-unknown-linux-gnu + arch: s390x + abi: cp310-cp310 steps: - uses: actions/checkout@v2 - name: Build Wheels