Skip to content

Commit

Permalink
Add python bindings (#188)
Browse files Browse the repository at this point in the history
* add python bindings
  • Loading branch information
tiltingpenguin authored Oct 20, 2023
1 parent ccc71d4 commit 9e9adf2
Show file tree
Hide file tree
Showing 13 changed files with 2,604 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Execute tests

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- bindings/python3/*

jobs:
test:
runs-on: ubuntu-latest
container: registry.opensuse.org/opensuse/tumbleweed:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup libeconf
run: |
zypper ref
zypper --non-interactive in libeconf0 python3 python3-pip python3-pytest
- name: Install econf
run: python3 -m pip install -e . --break-system-packages

- name: Run tests
run: pytest -v test/
Loading

0 comments on commit 9e9adf2

Please sign in to comment.