Skip to content

Commit 783a684

Browse files
authored
Merge pull request #504 from mrclary/workflow-action-updates
PR: Update workflow actions (CI)
2 parents 0845b63 + 843fc56 commit 783a684

File tree

4 files changed

+23
-26
lines changed

4 files changed

+23
-26
lines changed

.github/workflows/linux-pip-tests.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@ jobs:
2424
RUNNER_OS: 'ubuntu'
2525
USE_CONDA: 'false'
2626
strategy:
27-
fail-fast: false
27+
fail-fast: false
2828
matrix:
2929
PYTHON_VERSION: ['3.8', '3.9', '3.10']
3030
timeout-minutes: 20
3131
steps:
3232
- name: Checkout branch
3333
uses: actions/checkout@v1
3434
- name: Install System Packages
35-
run: |
35+
run: |
3636
sudo apt-get update
3737
sudo apt-get install libegl1-mesa libopengl0
3838
- name: Install Conda
39-
uses: conda-incubator/setup-miniconda@v2
39+
uses: conda-incubator/setup-miniconda@v3
4040
with:
4141
activate-environment: test
4242
auto-update-conda: false
4343
auto-activate-base: false
44-
python-version: ${{ matrix.PYTHON_VERSION }}
44+
python-version: ${{ matrix.PYTHON_VERSION }}
4545
- name: Install package and dependencies
4646
shell: bash -l {0}
4747
run: |
@@ -61,7 +61,7 @@ jobs:
6161
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
6262
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v3
64+
uses: codecov/codecov-action@v4
6565
with:
6666
fail_ci_if_error: false
6767
verbose: true

.github/workflows/linux-tests.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,32 @@ jobs:
2424
RUNNER_OS: 'ubuntu'
2525
USE_CONDA: 'true'
2626
strategy:
27-
fail-fast: false
27+
fail-fast: false
2828
matrix:
2929
PYTHON_VERSION: ['3.8', '3.9', '3.10']
3030
timeout-minutes: 20
3131
steps:
3232
- name: Checkout branch
3333
uses: actions/checkout@v1
3434
- name: Install System Packages
35-
run: |
35+
run: |
3636
sudo apt-get update
3737
sudo apt-get install libegl1-mesa libopengl0
3838
- name: Install Conda
39-
uses: conda-incubator/setup-miniconda@v2
39+
uses: conda-incubator/setup-miniconda@v3
4040
with:
4141
activate-environment: test
4242
auto-update-conda: true
4343
auto-activate-base: false
4444
channels: conda-forge
45-
miniforge-variant: Mambaforge
46-
python-version: ${{ matrix.PYTHON_VERSION }}
45+
python-version: ${{ matrix.PYTHON_VERSION }}
4746
- name: Install package dependencies
4847
shell: bash -l {0}
4948
run: |
50-
mamba install --file requirements/posix.txt -y -q
49+
conda install --file requirements/posix.txt -y -q
5150
- name: Install test dependencies
5251
shell: bash -l {0}
53-
run: mamba install --file requirements/tests.txt -y -q
52+
run: conda install --file requirements/tests.txt -y -q
5453
- name: Install Package
5554
shell: bash -l {0}
5655
run: pip install -e .
@@ -69,7 +68,7 @@ jobs:
6968
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
7069
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
7170
- name: Upload coverage to Codecov
72-
uses: codecov/codecov-action@v3
71+
uses: codecov/codecov-action@v4
7372
with:
7473
fail_ci_if_error: false
7574
verbose: true

.github/workflows/macos-tests.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,28 @@ jobs:
2424
RUNNER_OS: 'macos'
2525
USE_CONDA: 'true'
2626
strategy:
27-
fail-fast: false
27+
fail-fast: false
2828
matrix:
2929
PYTHON_VERSION: ['3.8', '3.9', '3.10']
3030
timeout-minutes: 25
3131
steps:
3232
- name: Checkout branch
3333
uses: actions/checkout@v1
3434
- name: Install Conda
35-
uses: conda-incubator/setup-miniconda@v2
35+
uses: conda-incubator/setup-miniconda@v3
3636
with:
3737
activate-environment: test
3838
auto-update-conda: true
3939
auto-activate-base: false
4040
channels: conda-forge
41-
miniforge-variant: Mambaforge
42-
python-version: ${{ matrix.PYTHON_VERSION }}
41+
python-version: ${{ matrix.PYTHON_VERSION }}
4342
- name: Install package dependencies
4443
shell: bash -l {0}
4544
run: |
46-
mamba install --file requirements/posix.txt -y -q
45+
conda install --file requirements/posix.txt -y -q
4746
- name: Install test dependencies
4847
shell: bash -l {0}
49-
run: mamba install --file requirements/tests.txt -y -q
48+
run: conda install --file requirements/tests.txt -y -q
5049
- name: Install Package
5150
shell: bash -l {0}
5251
run: pip install -e .
@@ -65,7 +64,7 @@ jobs:
6564
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
6665
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
6766
- name: Upload coverage to Codecov
68-
uses: codecov/codecov-action@v3
67+
uses: codecov/codecov-action@v4
6968
with:
7069
fail_ci_if_error: false
7170
verbose: true

.github/workflows/windows-tests.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,28 @@ jobs:
2424
RUNNER_OS: 'windows'
2525
USE_CONDA: 'true'
2626
strategy:
27-
fail-fast: false
27+
fail-fast: false
2828
matrix:
2929
PYTHON_VERSION: ['3.8', '3.9', '3.10']
3030
timeout-minutes: 25
3131
steps:
3232
- name: Checkout branch
3333
uses: actions/checkout@v1
3434
- name: Install Conda
35-
uses: conda-incubator/setup-miniconda@v2
35+
uses: conda-incubator/setup-miniconda@v3
3636
with:
3737
activate-environment: test
3838
auto-update-conda: true
3939
auto-activate-base: false
4040
channels: conda-forge
41-
miniforge-variant: Mambaforge
4241
python-version: ${{ matrix.PYTHON_VERSION }}
4342
- name: Install package dependencies
4443
shell: bash -l {0}
45-
run: mamba install --file requirements/windows.txt -y -q
44+
run: conda install --file requirements/windows.txt -y -q
4645
- name: Install test dependencies
4746
shell: bash -l {0}
4847
run: |
49-
mamba install --file requirements/tests.txt -y -q
48+
conda install --file requirements/tests.txt -y -q
5049
- name: Install Package
5150
shell: bash -l {0}
5251
run: pip install -e .
@@ -65,7 +64,7 @@ jobs:
6564
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
6665
pytest spyder_kernels --cov=spyder_kernels -vv
6766
- name: Upload coverage to Codecov
68-
uses: codecov/codecov-action@v3
67+
uses: codecov/codecov-action@v4
6968
with:
7069
fail_ci_if_error: false
7170
verbose: true

0 commit comments

Comments
 (0)