Add a setup helper script
This commit is contained in:
parent
cd3686257a
commit
905719f2f1
2
.github/workflows/ansible.yml
vendored
2
.github/workflows/ansible.yml
vendored
@ -12,6 +12,6 @@ jobs:
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: pip install -r dev-requirements.txt
|
||||
run: ./scripts/setup.sh
|
||||
- name: Run linters
|
||||
run: ./scripts/ansible-lint.sh
|
||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -12,6 +12,6 @@ jobs:
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: pip install -r dev-requirements.txt
|
||||
run: ./scripts/setup.sh
|
||||
- name: Run linters
|
||||
run: ./scripts/lint.sh
|
||||
|
7
scripts/setup.sh
Executable file
7
scripts/setup.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
python -m venv env
|
||||
|
||||
env/bin/pip install -r dev-requirements.txt
|
Loading…
x
Reference in New Issue
Block a user