File tree Expand file tree Collapse file tree 3 files changed +47
-33
lines changed
Expand file tree Collapse file tree 3 files changed +47
-33
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous integration checks
2+
3+ on :
4+ push :
5+ schedule :
6+ - cron : ' 0 0 * * 0' # weekly
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ python-version : ['3.10']
14+
15+ steps :
16+ - uses : actions/checkout@v5
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v6
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Install dependencies
22+ run : |
23+ apt-get install libzbar-dev
24+ python -m pip install --upgrade pip
25+ pip install -r requirements-dev.txt
26+ pip freeze
27+ - name : Run tests
28+ run : |
29+ make test
30+
31+ quality :
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v5
35+ - name : Set up Python 3.10
36+ uses : actions/setup-python@v6
37+ with :
38+ python-version : ' 3.10'
39+ - name : Install dependencies
40+ run : |
41+ apt-get install libzbar-dev
42+ python -m pip install --upgrade pip
43+ pip install -r requirements-dev.txt
44+ pip freeze
45+ - name : Run quality checks
46+ run : |
47+ make quality
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments