Skip to content

Commit e67af13

Browse files
committed
New gitlab CI config with lint and test configurations
1 parent 18804a1 commit e67af13

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
image: fedora:rawhide
2+
stages:
3+
- check
4+
- build
5+
6+
variables:
7+
DEPENDENCIES: python3 pygobject3 gobject-introspection
8+
python3-gobject gtk3 gtksourceview3
9+
10+
flake8:
11+
stage: check
12+
script:
13+
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
14+
- pip3 install -r dev-requirements.txt
15+
- flake8 meld/
16+
allow_failure: true
17+
18+
pytest:
19+
stage: check
20+
script:
21+
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES python3-pytest
22+
- py.test-3 test/
23+
24+
build:
25+
stage: build
26+
script:
27+
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
28+
- python3 setup.py build

0 commit comments

Comments
 (0)