File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ jobs:
5858 - name : Sync dev dependencies from lockfile and install wheel
5959 run : |
6060 uv sync --python ${{ env.MAIN_PYTHON_VERSION }} --frozen --no-install-project --group dev
61- uv pip install dist/*.whl
61+ uv pip install --python .venv/bin/python dist/*.whl
6262 - name : Test package integrity
6363 run : |
64- uv run --python ${{ env.MAIN_PYTHON_VERSION }} python -m pytest tests/test_package_integrity.py -v
65- CODECARBON_ALLOW_MULTIPLE_RUNS=True uv run --python ${{ env.MAIN_PYTHON_VERSION }} python -m pytest \
64+ .venv/bin/ python -m pytest tests/test_package_integrity.py -v
65+ CODECARBON_ALLOW_MULTIPLE_RUNS=True .venv/bin/ python -m pytest \
6666 --ignore=tests/test_viz_data.py \
6767 -vv -m 'not integ_test' tests/
6868 - name : Test CLI functionality
6969 run : |
70- uv run --python ${{ env.MAIN_PYTHON_VERSION }} codecarbon --help
71- uv run --python ${{ env.MAIN_PYTHON_VERSION }} python -c "from codecarbon import EmissionsTracker; print('Package import successful')"
70+ .venv/bin/ codecarbon --help
71+ .venv/bin/ python -c "from codecarbon import EmissionsTracker; print('Package import successful')"
You can’t perform that action at this time.
0 commit comments