Skip to content

Commit

Permalink
fix: workflow missing env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mgvalverde committed Aug 30, 2024
1 parent 0412d73 commit 9d6e056
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
POETRY_VERSION: "1.8.3"
PCKG_SRC: "omegaconf_cloud_resolvers"


defaults:
Expand Down Expand Up @@ -42,10 +43,10 @@ jobs:
run: poetry install --all-extras

- name: Lint with ruff
run: poetry run ruff check ${{ env.PCKG_SRC }}
run: poetry run ruff check . --exit-non-zero-on-fix --show-fixes

- name: Lint with bandit
run: poetry run bandit -r ${{ env.PCKG_SRC }} --quiet
run: poetry run bandit -r . -x "./.venv/*,./tests/*,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg" --quiet

- name: Test with pytest
run: poetry run pytest tests/ --cov=omegaconf-cloud-resolvers --cov-report=xml # store in cov
Expand Down

0 comments on commit 9d6e056

Please sign in to comment.