Skip to content

Commit

Permalink
print env
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxuanzhuang committed May 3, 2024
1 parent 3ad9c56 commit 503223a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [self-hosted, ]
os: [ubuntu-latest, ]
python-version: ["3.10", "3.11", "3.12"]
full-deps: [true, ]
codecov: [true, ]
Expand Down Expand Up @@ -66,11 +66,6 @@ jobs:
with:
os-type: ${{ matrix.os }}

- name: remove_old_micromamba
run: |
rm -rf $HOME/micromamba
rm -rf $HOME/micromamba-bin
- name: setup_micromamba
uses: mamba-org/setup-micromamba@v1
with:
Expand Down Expand Up @@ -126,6 +121,8 @@ jobs:
PYTEST_FLAGS="${PYTEST_FLAGS} --cov-config=.coveragerc --cov=MDAnalysis --cov-report=xml"
fi
echo $PYTEST_FLAGS
python -c "import os; print(os.environ)"
pytest -n auto --timeout=200 testsuite/MDAnalysisTests $PYTEST_FLAGS
- name: run_asv
Expand Down
7 changes: 6 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ jobs:
$env:OPENBLAS_NUM_THREADS=1
$env:GOTO_NUM_THREADS=1
$env:OMP_NUM_THREADS=1
pytest MDAnalysisTests --disable-pytest-warnings -n auto --timeout=200 -rsx --cov=MDAnalysis
$env:MKL_NUM_THREADS=1
# print os.environ to check that the env vars are set
python -c "import os; print(os.environ)"
pytest MDAnalysisTests --disable-pytest-warnings -n 1 --timeout=200 -rsx --cov=MDAnalysis
displayName: 'Run MDAnalysis Test Suite'
- script: |
curl -s https://codecov.io/bash | bash
Expand Down

0 comments on commit 503223a

Please sign in to comment.