1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 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/
|