-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (46 loc) · 973 Bytes
/
tests.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
on:
push:
branches:
- stable
- dev
pull_request:
branches:
- stable
- dev
name: Tests
jobs:
misc_tests:
name: Misc tests
steps:
- uses: actions/checkout@v4
- name: Run tests
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
dnf_install: krb5-devel openldap-devel
strategy:
matrix:
tox_env:
- lint
- format
runs-on: ubuntu-latest
unit_test:
name: Unit tests
steps:
- uses: actions/checkout@v4
- name: Run tests
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.pyver }}-${{ matrix.flaskver }}
dnf_install: krb5-devel openldap-devel
strategy:
matrix:
pyver:
- py38
- py39
- py310
- py311
flaskver:
- flask1
- flask2
runs-on: ubuntu-latest