From 912e94b43ce875e3d321ff1221c90ab5cff57cd5 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 1 Oct 2024 10:54:44 +0200 Subject: [PATCH 1/4] 0.4.x: Fix CI --- .github/workflows/main.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 277c52d9a..2d3b1e368 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,14 +26,13 @@ jobs: - uses: actions/checkout@v2 - name: Setup mamba - uses: conda-incubator/setup-miniconda@v2 + uses: mamba-org/setup-micromamba@v1 with: - miniforge-variant: Mambaforge - channels: conda-forge + environment-name: voila - name: Create the conda environment shell: bash -l {0} - 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 + 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 - name: Install dependencies shell: bash -l {0} @@ -85,14 +84,13 @@ jobs: - uses: actions/checkout@v2 - name: Setup mamba - uses: conda-incubator/setup-miniconda@v2 + uses: mamba-org/setup-micromamba@v1 with: - miniforge-variant: Mambaforge - channels: conda-forge + environment-name: voila - name: Create the conda environment shell: bash -l {0} - 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 + 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 - name: Install dependencies shell: bash -l {0} From 552f0403611e989183f00e43dce121327bccccad Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 1 Oct 2024 10:58:14 +0200 Subject: [PATCH 2/4] Update workflow --- .github/workflows/ui-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index e39321171..0fefb4b36 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -62,7 +62,7 @@ jobs: - name: Upload Playwright Test assets if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: voila-test-assets path: | @@ -70,7 +70,7 @@ jobs: - name: Upload Playwright Benchmark report if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: voila-benchmark-report path: | @@ -78,7 +78,7 @@ jobs: - name: Upload Playwright Test report if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: voila-test-report path: | From 8266af8f4b80de896432e65ea9c0f65df26fec57 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 1 Oct 2024 11:14:17 +0200 Subject: [PATCH 3/4] Fix packaging workflow --- .github/workflows/packaging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 92ba8bca8..f4395d4f8 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -46,7 +46,7 @@ jobs: sha256sum * | tee SHA256SUMS - name: Upload distributions - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: dist ${{ github.run_number }} path: ./dist From 568adbab95b521663567a63f691d9b8964380775 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 1 Oct 2024 11:28:44 +0200 Subject: [PATCH 4/4] Iterate --- .github/workflows/packaging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index f4395d4f8..fb2a2aced 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -76,7 +76,7 @@ jobs: with: python-version: ${{ matrix.python }} architecture: 'x64' - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: dist ${{ github.run_number }} path: ./dist