53b335aaca
* Add unit testing * Fix code according to CI This includes: - formating changes - rewording of some doc strings - adding support to {label!~'value'} in rbac * Add unit tests automation * Fix CI automation * Add requirements.txt
24 lines
412 B
YAML
24 lines
412 B
YAML
name: unit_tests
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 30
|
|
strategy:
|
|
matrix:
|
|
env:
|
|
- pep8
|
|
- py39
|
|
- py311
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install dependencies
|
|
run: ./tools/install_deps.sh
|
|
- name: Run tox
|
|
run: tox -e ${{ matrix.env }}
|