Skip to content

Commit 80ec428

Browse files
author
Allen Wang
committed
test w/ conda
1 parent 8042d7e commit 80ec428

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/unit_test.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ jobs:
1414
steps:
1515
- name: Check out repo
1616
uses: actions/checkout@v4
17+
- name: Create conda env
18+
run: conda create -n forge python=${{ matrix.python-version }} --yes
19+
- name: Activate conda env
20+
run: conda activate forge
21+
# remove the next two steps
22+
- name: Pip debug
23+
run: python -m pip debug --verbose
24+
- name: Check Python version
25+
run: python --version
1726
- name: Setup conda env
1827
uses: conda-incubator/setup-miniconda@v2
1928
with:
@@ -28,7 +37,7 @@ jobs:
2837
python -m pip install -e ".[dev]"
2938
# Will have to pin until monarch wheel is reasonable
3039
pip install torch==2.9.0.dev20250815+cpu --index-url https://download.pytorch.org/whl/nightly/cpu
31-
python -m pip install --no-build-isolation assets/wheels/monarch_no_torch-0.1.0.dev20250815-cp310-cp310-linux_x86_64.whl
40+
python -m pip install --no-build-isolation --verbose assets/wheels/monarch_no_torch-0.1.0.dev20250815-cp310-cp310-linux_x86_64.whl
3241
- name: Run unit tests with coverage
3342
run: pytest tests --cov=. --cov-report=xml --durations=20 -vv
3443
- name: Upload Coverage to Codecov

0 commit comments

Comments
 (0)