Skip to content

Bump actions/setup-python from 4 to 5 (#8) #102

Bump actions/setup-python from 4 to 5 (#8)

Bump actions/setup-python from 4 to 5 (#8) #102

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo add-apt-repository -u -y ppa:s-ramacher/ait
sudo apt-get install librelic-dev pkg-config
python -m pip install --upgrade pip
pip install pytest pkgconfig "cython >= 0.28"
- name: Build with Python ${{ matrix.python-version }}
run: |
python setup.py build
python setup.py build_ext -i
- name: Test with pytest
run: |
pytest .