Stop hardcoding libc soname #273
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 4 * * MON,FRI | |
jobs: | |
fedora: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
container: registry.fedoraproject.org/fedora:latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install runtime and test dependencies | |
run: dnf install -y openssh-clients python3-asyncssh python3-pytest-cov python3-pytest-asyncio | |
- name: Run unit tests | |
run: python3 -m pytest --color=yes --cov | |
centos: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: | |
- stream9 | |
- stream10-development | |
timeout-minutes: 10 | |
container: quay.io/centos/centos:${{ matrix.tag }} | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install distro runtime and test dependencies | |
run: | | |
dnf install -y openssh-clients python3-pip python3-cryptography | |
- name: Install pip test dependencies | |
run: pip3 install pytest-asyncio asyncssh | |
- name: Run unit tests | |
run: PYTHONPATH=src python3 -m pytest --color=yes | |
debian: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
container: docker.io/debian:unstable | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Install runtime and test dependencies | |
run: | | |
apt-get update | |
apt-get install -y python3-pytest-asyncio python3-pip openssh-client | |
pip3 install --break-system-packages asyncssh==2.13.2 | |
- name: Run unit tests | |
run: python3 -m pytest --color=yes |