Skip to content

Commit f68b86c

Browse files
authored
0.4.x: Fix (part of the) CI (#1493)
* 0.4.x: Fix CI * Update workflow * Fix packaging workflow * Iterate
1 parent 47f3f0a commit f68b86c

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626
- uses: actions/checkout@v2
2727

2828
- name: Setup mamba
29-
uses: conda-incubator/setup-miniconda@v2
29+
uses: mamba-org/setup-micromamba@v1
3030
with:
31-
miniforge-variant: Mambaforge
32-
channels: conda-forge
31+
environment-name: voila
3332

3433
- name: Create the conda environment
3534
shell: bash -l {0}
36-
run: mamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov pytest-rerunfailures nodejs=18 yarn=1 ipywidgets matplotlib xeus-cling "traitlets>=5.0.3,<6" ipykernel
35+
run: micromamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov pytest-rerunfailures nodejs=18 yarn=1 ipywidgets matplotlib xeus-cling "traitlets>=5.0.3,<6" ipykernel -c conda-forge
3736

3837
- name: Install dependencies
3938
shell: bash -l {0}
@@ -85,14 +84,13 @@ jobs:
8584
- uses: actions/checkout@v2
8685

8786
- name: Setup mamba
88-
uses: conda-incubator/setup-miniconda@v2
87+
uses: mamba-org/setup-micromamba@v1
8988
with:
90-
miniforge-variant: Mambaforge
91-
channels: conda-forge
89+
environment-name: voila
9290

9391
- name: Create the conda environment
9492
shell: bash -l {0}
95-
run: mamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov pytest-rerunfailures nodejs=18 yarn=1 ipywidgets matplotlib xeus-cling "traitlets>=5.0.3,<6" ipykernel
93+
run: micromamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov pytest-rerunfailures nodejs=18 yarn=1 ipywidgets matplotlib xeus-cling "traitlets>=5.0.3,<6" ipykernel -c conda-forge
9694

9795
- name: Install dependencies
9896
shell: bash -l {0}

.github/workflows/packaging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
sha256sum * | tee SHA256SUMS
4747
4848
- name: Upload distributions
49-
uses: actions/upload-artifact@v2
49+
uses: actions/upload-artifact@v3
5050
with:
5151
name: dist ${{ github.run_number }}
5252
path: ./dist
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
python-version: ${{ matrix.python }}
7878
architecture: 'x64'
79-
- uses: actions/download-artifact@v2
79+
- uses: actions/download-artifact@v3
8080
with:
8181
name: dist ${{ github.run_number }}
8282
path: ./dist

.github/workflows/ui-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ jobs:
6262

6363
- name: Upload Playwright Test assets
6464
if: always()
65-
uses: actions/upload-artifact@v2
65+
uses: actions/upload-artifact@v3
6666
with:
6767
name: voila-test-assets
6868
path: |
6969
ui-tests/test-results
7070
7171
- name: Upload Playwright Benchmark report
7272
if: always()
73-
uses: actions/upload-artifact@v2
73+
uses: actions/upload-artifact@v3
7474
with:
7575
name: voila-benchmark-report
7676
path: |
7777
ui-tests/benchmark-results
7878
7979
- name: Upload Playwright Test report
8080
if: always()
81-
uses: actions/upload-artifact@v2
81+
uses: actions/upload-artifact@v3
8282
with:
8383
name: voila-test-report
8484
path: |

0 commit comments

Comments
 (0)