File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,10 +46,23 @@ jobs:
4646
4747 - name : Build test map on cache miss
4848 if : steps.restore-map.outputs.cache-hit != 'true'
49+ uses : mamba-org/setup-micromamba@v2.0.7
50+ with :
51+ environment-file : ./environment.yml
52+ init-shell : bash
53+ create-args : >-
54+ --verbose
55+ python=3.11
56+ matplotlib=3.9
57+ cache-environment : true
58+ cache-downloads : false
59+
60+ - name : Generate test map on cache miss
61+ if : steps.restore-map.outputs.cache-hit != 'true'
62+ shell : bash -el {0}
4963 run : |
5064 echo "Test map cache miss; generating map from tests."
51- python -m pip install --upgrade pip
52- pip install -e .[tests] coverage pytest pytest-cov pytest-xdist
65+ pip install --no-build-isolation --no-deps .
5366 mkdir -p .ci
5467 pytest -q --tb=short --disable-warnings -n 0 -p pytest_cov \
5568 --cov=ultraplot --cov-branch --cov-context=test --cov-report= \
You can’t perform that action at this time.
0 commit comments