Skip to content

Commit

Permalink
ci: run without coverage and junit
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-ad committed Feb 3, 2025
1 parent 61138af commit eb1e273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
fail-fast: false
matrix:
python-version: ${{ fromJSON(needs.setup.outputs.python_versions) }}
os: ["windows-latest", "public-ubuntu-latest-16-cores"]
os: ["windows-latest", "ubuntu-latest"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
run: |
if [ ${{ inputs.test_any }} == 'true' ]; then
export platform="any"
elif [ ${{ matrix.os }} == "public-ubuntu-latest-16-cores" ]; then
elif [ ${{ matrix.os }} == "ubuntu-latest" ]; then
export platform="manylinux_2_17"
else
export platform="win"
Expand Down Expand Up @@ -220,13 +220,13 @@ jobs:
shell: bash
run: |
if [ $MODE == 'PIP' ]; then
if [ ${{ matrix.os }} == 'public-ubuntu-latest-16-cores' ]; then
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.deps+="-e dpf-standalone/v${{inputs.ANSYS_VERSION}}" -x testenv.commands_pre+="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0"' >> "$GITHUB_OUTPUT"
else
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.deps+="-e dpf-standalone/v${{inputs.ANSYS_VERSION}}"' >> "$GITHUB_OUTPUT"
fi
else
if [ ${{ matrix.os }} == 'public-ubuntu-latest-16-cores' ]; then
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }} -x testenv.commands_pre+="uv pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0"' >> "$GITHUB_OUTPUT"
else
echo 'TOX_EXTRA_ARG=--installpkg dist/${{ steps.wheel.outputs.wheel_name }}' >> "$GITHUB_OUTPUT"
Expand Down
1 change: 0 additions & 1 deletion requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ pytest==8.3.4
pytest-cov==5.0.0
pytest-order==1.3.0
pytest-rerunfailures==15.0
pytest-xdist==3.6.1
pyvista==0.44.2
vtk==9.3.1
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ setenv =
TMP = {env_tmp_dir}

commands =
python -m pytest {env:PYTEST_PYTHON_FILES} {env:DEBUG} {env:COVERAGE} {env:RERUNS} {env:JUNITXML} {posargs}
python -m pytest {env:PYTEST_PYTHON_FILES} {env:DEBUG} {env:RERUNS} #{env:DEBUG} {env:COVERAGE} {env:RERUNS} {env:JUNITXML} {posargs}

[testenv:doc-{clean,links,html}]
description = Environment for documentation generation
Expand Down

0 comments on commit eb1e273

Please sign in to comment.