-
Notifications
You must be signed in to change notification settings - Fork 36
47 lines (44 loc) · 1.03 KB
/
main.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
on:
push:
branches:
- master
pull_request:
branches:
- master
name: Run Tox tests
jobs:
tox_test:
name: Tox test
steps:
- name: Checkout kobo
uses: actions/checkout@v2
- name: Run Tox tests
id: test
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
dnf_install: python3-rpm /usr/bin/gcc /usr/bin/krb5-config /etc/mime.types
strategy:
matrix:
tox_env: [
# This list has to be maintained manually :(
# You can get it from `tox -l | sed "s/$/,/"`
py36-django2,
py36-django3,
py38-django2,
py38-django3,
py39-django2,
py39-django3,
py310-django2,
py310-django3,
py311-django2,
py311-django3,
py38-django4,
py39-django4,
py310-django4,
py311-django4,
py312-django4,
py39-bandit,
]
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest