From 0c5c77d881fc5ee61a15dd1c4e7a5cab9a2dff96 Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Thu, 26 Mar 2020 21:10:54 +0100 Subject: [PATCH] added .gitignore, second stage to ci --- .gitignore | 1 + .gitlab-ci.yml | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bee8a64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3076c7..82bc47c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,17 @@ stages: - - syntaxcheck + - build + - test test: - stage: syntaxcheck + stage: build tags: - python3 script: - - python3 -i panxy.py + - python3 -m py_compile panxy.py + +test: + stage: test + tags: + - python3 + script: + - python3 panxy.py