Skip to content

Commit 1d5755b

Browse files
fix: ci
1 parent 8f432db commit 1d5755b

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/run_mapdl_tests.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,26 @@ jobs:
2727
ON_UBUNTU: true
2828

2929
steps:
30+
- uses: actions/checkout@v4
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3035
- name: Install uv and create venv
3136
run: |
3237
python -m pip install --upgrade pip
3338
pip install uv
3439
3540
- name: Install project dependencies
3641
run: |
37-
source .venv/bin/activate
3842
uv pip install -e .[tests]
3943
uv pip install tests/launcher/pkg_with_entrypoint
4044
4145
- name: Run tests
4246
run: |
43-
source .venv/bin/activate
4447
uv run pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
4548
46-
# - uses: codecov/codecov-action@v5
47-
# name: 'Upload coverage to CodeCov'
48-
# with:
49-
# token: ${{ secrets.CODECOV_TOKEN }}
49+
# - uses: codecov/codecov-action@v5
50+
# name: 'Upload coverage to CodeCov'
51+
# with:
52+
# token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)