Skip to content

Do not test 3.12 for now #420

Do not test 3.12 for now

Do not test 3.12 for now #420

Workflow file for this run

name: Tests
on:
pull_request:
push:
paths-ignore:
- '**.rst'
jobs:
x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
python-version: 3.8
- os: ubuntu-22.04
python-version: '3.11'
- os: ubuntu-22.04
python-version: 'pypy3.9'
- os: macos-latest
python-version: 3.8
steps:
- name: Checkout pygit2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Linux
if: runner.os == 'Linux'
run: |
sudo apt install tinyproxy
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.7.1 /bin/sh build.sh test
- name: macOS
if: runner.os == 'macOS'
run: |
export OPENSSL_PREFIX=`brew --prefix [email protected]`
export LIBSSH2_PREFIX=`brew --prefix libssh2`
export LIBGIT2_VERSION=1.7.1
/bin/sh build.sh test
aarch64:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build & test
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu20.04
install: |
apt-get update -q -y
apt-get install -q -y cmake libssl-dev python3-dev python3-venv wget
run: |
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.7.1 /bin/sh build.sh test
s390x:
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build & test
uses: uraimo/run-on-arch-action@v2
with:
arch: s390x
distro: ubuntu20.04
install: |
apt-get update -q -y
apt-get install -q -y cmake libssl-dev python3-dev python3-venv wget
run: |
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.7.1 /bin/sh build.sh test
continue-on-error: true # Tests are expected to fail, see issue #812