7
7
branches : [ master ]
8
8
9
9
jobs :
10
- test :
11
- name : Unittests
10
+ test_python_3_7 :
12
11
runs-on : ubuntu-latest
13
12
steps :
14
13
- name : GitHub Checkout
@@ -30,9 +29,120 @@ jobs:
30
29
LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
31
30
run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
32
31
32
+ test_python_3_8 :
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - name : GitHub Checkout
36
+ uses : actions/checkout@v4
37
+
38
+ - name : Set up Python
39
+ uses : actions/setup-python@v4
40
+ with :
41
+ python-version : 3.8
42
+
43
+ - name : Install dependencies
44
+ run : |
45
+ python -m pip install --upgrade pip
46
+ pip install -r requirements.txt
47
+ pip install coveralls
48
+ - name : Run Unittest
49
+ env :
50
+ LUCIT_API_SECRET : ${{ secrets.LUCIT_API_SECRET }}
51
+ LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
52
+ run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
53
+
54
+ test_python_3_9 :
55
+ runs-on : ubuntu-latest
56
+ steps :
57
+ - name : GitHub Checkout
58
+ uses : actions/checkout@v4
59
+
60
+ - name : Set up Python
61
+ uses : actions/setup-python@v4
62
+ with :
63
+ python-version : 3.9
64
+
65
+ - name : Install dependencies
66
+ run : |
67
+ python -m pip install --upgrade pip
68
+ pip install -r requirements.txt
69
+ pip install coveralls
70
+ - name : Run Unittest
71
+ env :
72
+ LUCIT_API_SECRET : ${{ secrets.LUCIT_API_SECRET }}
73
+ LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
74
+ run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
75
+
76
+ test_python_3_10 :
77
+ runs-on : ubuntu-latest
78
+ steps :
79
+ - name : GitHub Checkout
80
+ uses : actions/checkout@v4
81
+
82
+ - name : Set up Python
83
+ uses : actions/setup-python@v4
84
+ with :
85
+ python-version : " 3.10"
86
+
87
+ - name : Install dependencies
88
+ run : |
89
+ python -m pip install --upgrade pip
90
+ pip install -r requirements.txt
91
+ pip install coveralls
92
+ - name : Run Unittest
93
+ env :
94
+ LUCIT_API_SECRET : ${{ secrets.LUCIT_API_SECRET }}
95
+ LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
96
+ run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
97
+
98
+ test_python_3_11 :
99
+ runs-on : ubuntu-latest
100
+ steps :
101
+ - name : GitHub Checkout
102
+ uses : actions/checkout@v4
103
+
104
+ - name : Set up Python
105
+ uses : actions/setup-python@v4
106
+ with :
107
+ python-version : " 3.11"
108
+
109
+ - name : Install dependencies
110
+ run : |
111
+ python -m pip install --upgrade pip
112
+ pip install -r requirements.txt
113
+ pip install coveralls
114
+ - name : Run Unittest
115
+ env :
116
+ LUCIT_API_SECRET : ${{ secrets.LUCIT_API_SECRET }}
117
+ LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
118
+ run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
119
+
120
+ test_python_3_12 :
121
+ runs-on : ubuntu-latest
122
+ steps :
123
+ - name : GitHub Checkout
124
+ uses : actions/checkout@v4
125
+
126
+ - name : Set up Python
127
+ uses : actions/setup-python@v4
128
+ with :
129
+ python-version : " 3.12"
130
+
131
+ - name : Install dependencies
132
+ run : |
133
+ python -m pip install --upgrade pip
134
+ pip install -r requirements.txt
135
+ pip install coveralls
136
+ - name : Run Unittest
137
+ env :
138
+ LUCIT_API_SECRET : ${{ secrets.LUCIT_API_SECRET }}
139
+ LUCIT_LICENSE_TOKEN : ${{ secrets.LUCIT_LICENSE_TOKEN }}
140
+ run : coverage run --source lucit_licensing_python unittest_lucit_licensing_python.py
141
+
33
142
- name : Upload coverage to Codecov
34
143
uses : codecov/codecov-action@v3
35
144
with :
145
+ token : ${{ secrets.CODECOV_TOKEN }}
36
146
flags : unittests
37
147
name : codecov-umbrella
38
148
verbose : true
0 commit comments