Skip to content

Commit 582da33

Browse files
Use micromamba in CI (#301)
1 parent 4902557 commit 582da33

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,30 +41,24 @@ jobs:
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@v4
44-
- name: Install Miniconda
45-
uses: conda-incubator/setup-miniconda@v3
44+
- name: Install mamba
45+
uses: mamba-org/setup-micromamba@v2
4646
with:
47-
miniforge-variant: Mambaforge
48-
miniforge-version: latest
49-
python-version: "3.11"
50-
47+
environment-name: jupyter_ydoc
5148
- name: Install dependencies
5249
run: |
53-
mamba install pip nodejs=18
50+
micromamba install pip nodejs=18
5451
pip install ".[test]"
55-
5652
- name: Build JavaScript assets
5753
working-directory: javascript
5854
run: |
5955
yarn
6056
yarn build
61-
6257
- name: Linter check
6358
if: ${{ !contains(matrix.os, 'windows') }}
6459
working-directory: javascript
6560
run: |
6661
yarn lint:check
67-
6862
- name: Integrity check
6963
if: ${{ !contains(matrix.os, 'windows') }}
7064
working-directory: javascript
@@ -76,13 +70,11 @@ jobs:
7670
echo "Integrity test failed; please run locally 'yarn integrity' and commit the changes"
7771
exit 1
7872
fi
79-
8073
- name: Run JS tests
8174
working-directory: javascript
8275
run: |
8376
yarn build:test
8477
yarn test:cov
85-
8678
- name: Run Python tests
8779
run: |
8880
python -m pytest -v

0 commit comments

Comments
 (0)