Skip to content
Snippets Groups Projects
Verified Commit d27c30cb authored by jonas's avatar jonas
Browse files

feat: don't install python packages in venv

parent cfd1d8ec
Branches
No related tags found
No related merge requests found
......@@ -13,11 +13,8 @@
paths: [$PIP_CACHE_DIR]
- key: ansible-lint--ansible-collections
paths: [$ANSIBLE_HOME/collections, $ANSIBLE_HOME/roles]
- key: ansible-lint--venv
paths: [.venv]
before_script:
- python3 -m venv .venv
- test -f requirements.txt && .venv/bin/pip3 install -r requirements.txt
- test -f requirements.yml && .venv/bin/ansible-galaxy install -r requirements.yml
- test -f requirements.txt && pip install -r requirements.txt
- test -f requirements.yml && ansible-galaxy install -r requirements.yml
script:
- .venv/bin/ansible-lint --force-color
- ansible-lint --force-color
......@@ -10,7 +10,7 @@
- key: pre-commit--pre-commit
paths: [$PRE_COMMIT_HOME]
script:
- pip3 install pre-commit gh-release-install
- pip install pre-commit gh-release-install
- >
gh-release-install
koalaman/shellcheck
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment