Skip to content

Commit

Permalink
Use uv for libertem_master_integration job
Browse files Browse the repository at this point in the history
  • Loading branch information
sk1p committed Jun 11, 2024
1 parent f4752c6 commit 8b5d56f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions azure-pipelines-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,16 @@ stages:
- bash: python3.11 -m venv $(Agent.TempDirectory)/venv
displayName: 'create venv'

- bash: $(Agent.TempDirectory)/venv/bin/pip install $(Build.SourcesDirectory)/LiberTEM/
- bash: $(Agent.TempDirectory)/venv/bin/pip install uv
displayName: 'install uv'

- bash: $(Agent.TempDirectory)/venv/bin/uv pip install $(Build.SourcesDirectory)/LiberTEM/
displayName: 'install LiberTEM'

- bash: $(Agent.TempDirectory)/venv/bin/pip install $(Build.SourcesDirectory)/LiberTEM-live/
- bash: $(Agent.TempDirectory)/venv/bin/uv pip install $(Build.SourcesDirectory)/LiberTEM-live/
displayName: 'install LiberTEM-live'

- bash: $(Agent.TempDirectory)/venv/bin/pip install -r $(Build.SourcesDirectory)/LiberTEM-live/test_requirements.txt
- bash: $(Agent.TempDirectory)/venv/bin/uv pip install -r $(Build.SourcesDirectory)/LiberTEM-live/test_requirements.txt
displayName: 'install LiberTEM-live test requirements'

- bash: cd $(Build.SourcesDirectory)/LiberTEM-live/ && $(Agent.TempDirectory)/venv/bin/pytest --durations=10 --cov=libertem_live --cov-report=term --cov-report=html --cov-report=xml --cov-config=setup.cfg --junitxml=junit.xml tests/
Expand Down

0 comments on commit 8b5d56f

Please sign in to comment.