#10 Add CI on PR with zuul
Merged 3 years ago by asaleh. Opened 3 years ago by asaleh.
asaleh/mirrors-countme add_linting  into  main

file added
+12
@@ -0,0 +1,12 @@ 

+ ---

+ - job:

+     name: tox-f33

+     run: ci/tox.yaml

+     nodeset:

+       nodes:

+         name: test-node

+         label: pod-python-f33

+ - project:

+     check:

+       jobs:

+         - tox-f33

file added
+15
@@ -0,0 +1,15 @@ 

+ ---

+ - hosts: all

+   tasks:

+     - name: List project directory on the test system

+       command: ls -al {{ansible_user_dir}}/{{zuul.project.src_dir}}

+     - name: install dependencies

+       become: yes

+       package:

+         name:

+           - python3-tox

+         state: present

+     - name: run pytest

+       command:

+         chdir: '{{ansible_user_dir}}/{{zuul.project.src_dir}}'

+         cmd: python -m tox

file added
+8
@@ -0,0 +1,8 @@ 

+ # Global options:

+ 

+ [mypy]

+ python_version = 3.6

+ warn_return_any = True

+ warn_unused_configs = True

+ ignore_missing_imports = True

+ strict_optional = True

no initial comment

Pull-Request has been merged by asaleh

3 years ago