Skip to content

Commit

Permalink
Changes for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Sep 25, 2023
1 parent 2c44186 commit 4ad8cb1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build_tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Build from source using tox.
name: build_tox
on: [push, pull_request]
permissions: read-all
jobs:
build_tox:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- python-version: '3.7'
toxenv: 'py37'
- python-version: '3.8'
toxenv: 'py38'
- python-version: '3.9'
toxenv: 'py39'
- python-version: '3.10'
toxenv: 'py310'
- python-version: '3.11'
toxenv: 'py311'
- python-version: '3.12'
toxenv: 'py312'
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
run: |
sudo add-apt-repository universe &&
sudo add-apt-repository -y ppa:deadsnakes/ppa &&
sudo add-apt-repository -y ppa:gift/dev &&
sudo apt-get update &&
sudo apt-get install -y autoconf automake autopoint build-essential git libtool pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv python3-distutils python3-pip python3-setuptools
- name: Install tox
run: |
python3 -m pip install tox
- name: Run tests
env:
LANG: en_US.UTF-8
run: |
tox -e${{ matrix.toxenv }}
1 change: 1 addition & 0 deletions setup.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = liblnk-python
version = @VERSION@
description = Python bindings module for liblnk
long_description = Python bindings module for liblnk
author = Joachim Metz
author_email = [email protected]
license = GNU Lesser General Public License v3 or later (LGPLv3+)
Expand Down

0 comments on commit 4ad8cb1

Please sign in to comment.