-
Notifications
You must be signed in to change notification settings - Fork 0
92 lines (89 loc) · 1.98 KB
/
actions_version_check.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Run unittests
on:
push:
branches: [ master ]
jobs:
python36:
runs-on: ubuntu-latest
container:
image: python:3.6-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit test in python 3.6
run: python3 -m unittest discover ./tests
python37:
runs-on: ubuntu-latest
container:
image: python:3.7-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.7
run: python3 -m unittest discover ./tests
python38:
runs-on: ubuntu-latest
container:
image: python:3.8-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.8
run: python3 -m unittest discover ./tests
python39:
runs-on: ubuntu-latest
container:
image: python:3.9-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.9
run: python3 -m unittest discover ./tests
python310:
runs-on: ubuntu-latest
container:
image: python:3.10-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.10
run: python3 -m unittest discover ./tests
python311:
runs-on: ubuntu-latest
container:
image: python:3.11-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.11
run: python3 -m unittest discover ./tests
python312:
runs-on: ubuntu-latest
container:
image: python:3.12-slim
ports:
- "80"
volumes:
- ./:/app
steps:
- uses: actions/checkout@v3
- name: Unit tests in python 3.12
run: python3 -m unittest discover ./tests