Skip to content

Commit

Permalink
Introduce marker variable in action
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jan 22, 2025
1 parent 5aba56c commit 606aee2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-with-optional-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ jobs:
run: |
uv pip install --system "requests<2.32.0"
bash scripts/test.sh test/test_import.py
OPTIONAL_DEPENDENCIES="${{ matrix.optional-dependencies }//[-]/_}"
bash scripts/test.sh -m "$OPTIONAL_DEPENDENCIES"
OPTIONAL_DEPENDENCIES="${{ matrix.optional-dependencies }}"
MARKER="${OPTIONAL_DEPENDENCIES//-/_}"
bash scripts/test.sh -m "$MARKER"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium test

Unpinned 3rd party Action 'Tests with optional dependencies' step
Uses Step
uses 'codecov/codecov-action' with ref 'v3', not a pinned commit hash
with:
Expand Down

0 comments on commit 606aee2

Please sign in to comment.