Skip to content

Commit

Permalink
Merge pull request #70 from ThomasWaldmann/github-ci-fixes
Browse files Browse the repository at this point in the history
CI fixes
  • Loading branch information
matze authored Aug 11, 2024
2 parents 480e92f + 7ee7a99 commit 2142a41
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,24 @@ jobs:
fail-fast: true
matrix:
include:
- os: ubuntu-20.04
python-version: '3.8'
toxenv: py38
- os: ubuntu-22.04
python-version: '3.9'
toxenv: py39
- os: ubuntu-22.04
python-version: '3.10'
toxenv: py310
- os: ubuntu-22.04
python-version: '3.11'
toxenv: py311
- os: ubuntu-24.04
python-version: '3.12'
toxenv: py312

env:
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}

Expand All @@ -47,6 +63,7 @@ jobs:
- name: Install Python requirements
run: |
python -m pip install --upgrade pip
pip install tox
- name: Install pkgconfig
run: pip install -ve .
- name: run tox env
Expand All @@ -61,6 +78,10 @@ jobs:
include:
- os: macos-14
python-version: '3.11'
toxenv: py311

env:
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}

Expand All @@ -76,6 +97,7 @@ jobs:
- name: Install Python requirements
run: |
python -m pip install --upgrade pip
pip install tox
- name: Install pkgconfig
run: pip install -ve .
- name: run tox env
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pkgconfig
=========

.. image:: https://travis-ci.org/matze/pkgconfig.png?branch=master
:target: https://travis-ci.org/matze/pkgconfig
.. image:: https://github.com/matze/pkgconfig/workflows/CI/badge.svg?branch=master
:target: https://github.com/matze/pkgconfig/actions/workflows/ci.yml

``pkgconfig`` is a Python module to interface with the ``pkg-config``
command line tool for Python 3.3+.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ envlist = py{33,34,35,36,37,38,39,310,311,312}
deps =
pytest
setuptools
commands= pytest
commands= pytest -v -rs

0 comments on commit 2142a41

Please sign in to comment.