Skip to content

Commit ca8b5b2

Browse files
committed
Move to GitHub Actions
1 parent 59802c6 commit ca8b5b2

File tree

3 files changed

+47
-33
lines changed

3 files changed

+47
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

tox.ini

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)