Skip to content

Commit

Permalink
Adjust GHA workflows to fix CI (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Sep 24, 2024
1 parent 2a8c020 commit 05fcc0f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
--file tests\requirements-ci.txt
--file tests\requirements-s3.txt
--file ..\conda-libmamba-solver\dev\requirements.txt
--file ..\conda-libmamba-solver\tests\requirements.txt
${{ matrix.test-type == 'conda-libmamba-solver' && '--file ..\\conda-libmamba-solver\\tests\\requirements.txt' || '' }}
${{ env.REQUIREMENTS_TRUSTSTORE }}
python=${{ matrix.python-version }}
Expand Down Expand Up @@ -182,16 +182,12 @@ jobs:
- name: Run conda-libmamba-solver Tests
working-directory: conda-libmamba-solver
if: ${{ matrix.test-type == 'conda-libmamba-solver' }}
shell: cmd /C CALL {0}
shell: bash -el {0}
run: |
CALL python -m pip install -e ../conda/ --no-deps
if errorlevel 1 exit 1
CALL python -m conda init --all
if errorlevel 1 exit 1
CALL %CONDA_PREFIX%\Scripts\activate.bat
if errorlevel 1 exit 1
python -m pytest -vv -m "not slow" --reruns=${{ env.PYTEST_RERUN_FAILURES }} --durations=16 || exit 1
exit 0
python -m pip install -e ../conda/ --no-deps
python -m conda init --all
. $CONDA_PREFIX/etc/profile.d/conda.sh
python -m pytest -vv -m "not slow" --reruns=${{ env.PYTEST_RERUN_FAILURES }} --durations=16
#/ CONDA-LIBMAMBA-SOLVER CHANGE

- name: Upload Coverage
Expand Down Expand Up @@ -294,7 +290,7 @@ jobs:
--file tests/requirements-ci.txt
--file tests/requirements-s3.txt
--file ../conda-libmamba-solver/dev/requirements.txt
--file ../conda-libmamba-solver/tests/requirements.txt
${{ matrix.test-type == 'conda-libmamba-solver' && '--file ../conda-libmamba-solver/tests/requirements.txt' || '' }}
${{ env.REQUIREMENTS_TRUSTSTORE }}
python=${{ matrix.python-version }}

Expand Down Expand Up @@ -575,7 +571,7 @@ jobs:
--file tests/requirements-ci.txt
--file tests/requirements-s3.txt
--file ../conda-libmamba-solver/dev/requirements.txt
--file ../conda-libmamba-solver/tests/requirements.txt
${{ matrix.test-type == 'conda-libmamba-solver' && '--file ../conda-libmamba-solver/tests/requirements.txt' || '' }}
${{ env.REQUIREMENTS_TRUSTSTORE }}
python=${{ matrix.python-version }}

Expand Down

0 comments on commit 05fcc0f

Please sign in to comment.