Skip to content

Commit

Permalink
Merge pull request #34 from Ostorlab/feature/update_to_uv_agent_persi…
Browse files Browse the repository at this point in the history
…st_vulnz

Updates agent_persist_vulnz workflow(s), pip to uv.
  • Loading branch information
benyissa authored Jul 25, 2024
2 parents 976cda6 + e1e75d1 commit 6aa9a7d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies.
- name: Install UV
run: |
python -m pip install --upgrade pip
python -m pip install -r requirement.txt
python -m pip install -r tests/test-requirement.txt
python -m pip install uv
- name: Install dependencies.
run: |
python -m uv pip install -r requirement.txt
python -m uv pip install -r tests/test-requirement.txt
- name: Runnning tests with pytest.
run: |
pytest -m "not docker" --cov=./ --cov-report=xml:coverage.xml --cov-report=term-missing
Expand All @@ -44,4 +47,4 @@ jobs:
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
file: coverage.xml

0 comments on commit 6aa9a7d

Please sign in to comment.