1414 fail-fast : false
1515 matrix :
1616 OS : ['ubuntu', 'macos', 'windows']
17- PYTHON_VERSION : ['3.8 ', '3.9 ', '3.10 ']
17+ PYTHON_VERSION : ['3.9 ', '3.10 ', '3.11 ']
1818 SPYDER_SOURCE : ['git']
1919 name : ${{ matrix.OS }} py${{ matrix.PYTHON_VERSION }} spyder-from-${{ matrix.SPYDER_SOURCE }}
2020 runs-on : ${{ matrix.OS }}-latest
@@ -23,58 +23,57 @@ jobs:
2323 PYTHON_VERSION : ${{ matrix.PYTHON_VERSION }}
2424 steps :
2525 - name : Checkout branch
26- uses : actions/checkout@v3
26+ uses : actions/checkout@v4
2727 - name : Install System Packages
2828 if : matrix.OS == 'ubuntu'
2929 run : |
3030 sudo apt-get update --fix-missing
3131 sudo apt-get install -qq pyqt5-dev-tools libxcb-xinerama0 xterm --fix-missing
3232 - name : Install Conda
33- uses : conda-incubator/setup-miniconda@v2
33+ uses : conda-incubator/setup-miniconda@v3
3434 with :
35- miniforge-variant : Mambaforge
3635 auto-update-conda : true
3736 python-version : ${{ matrix.PYTHON_VERSION }}
3837 - name : Checkout Spyder from git
3938 if : matrix.SPYDER_SOURCE == 'git'
40- uses : actions/checkout@v3
39+ uses : actions/checkout@v4
4140 with :
4241 repository : ' spyder-ide/spyder'
4342 path : ' spyder'
4443 - name : Install Spyder's dependencies (main)
4544 if : matrix.SPYDER_SOURCE == 'git'
4645 shell : bash -l {0}
47- run : mamba env update --file spyder/requirements/main.yml
46+ run : conda env update --file spyder/requirements/main.yml
4847 - name : Install Spyder's dependencies (Linux)
4948 if : matrix.SPYDER_SOURCE == 'git' && matrix.OS == 'ubuntu'
5049 shell : bash -l {0}
51- run : mamba env update --file spyder/requirements/linux.yml
50+ run : conda env update --file spyder/requirements/linux.yml
5251 - name : Install Spyder's dependencies (Mac / Windows)
5352 if : matrix.SPYDER_SOURCE == 'git' && matrix.OS != 'ubuntu'
5453 shell : bash -l {0}
55- run : mamba env update --file spyder/requirements/${{ matrix.OS }}.yml
54+ run : conda env update --file spyder/requirements/${{ matrix.OS }}.yml
5655 - name : Install Spyder from source
5756 if : matrix.SPYDER_SOURCE == 'git'
5857 shell : bash -l {0}
5958 run : pip install --no-deps -e spyder
6059 - name : Install node.js
6160 shell : bash -l {0}
62- run : mamba install nodejs -y
61+ run : conda install nodejs -y
6362 - name : Install plugin dependencies (without Spyder)
6463 if : matrix.SPYDER_SOURCE == 'git'
6564 shell : bash -l {0}
6665 run : |
6766 python .github/scripts/generate-without-spyder.py
68- mamba install --file requirements/without-spyder.txt -y
67+ conda install --file requirements/without-spyder.txt -y
6968 - name : Install plugin dependencies
7069 if : matrix.SPYDER_SOURCE == 'conda'
7170 shell : bash -l {0}
72- run : mamba install --file requirements/conda.txt -y
71+ run : conda install --file requirements/conda.txt -y
7372 - name : Install test dependencies
7473 shell : bash -l {0}
7574 run : |
76- mamba install nomkl -y -q
77- mamba install --file requirements/tests.txt -y
75+ conda install nomkl -y -q
76+ conda install --file requirements/tests.txt -y
7877 - name : Build JavaScript
7978 shell : bash -l {0}
8079 run : |
@@ -87,11 +86,11 @@ jobs:
8786 - name : Show environment information
8887 shell : bash -l {0}
8988 run : |
90- mamba info
91- mamba list
89+ conda info
90+ conda list
9291 - name : Run tests (Linux)
9392 if : matrix.OS == 'ubuntu'
94- uses : nick-fields/retry@v2
93+ uses : nick-fields/retry@v3
9594 with :
9695 timeout_minutes : 10
9796 max_attempts : 3
@@ -101,7 +100,7 @@ jobs:
101100 xvfb-run --auto-servernum pytest spyder_notebook --cov=spyder_notebook --cov-report=xml -vv
102101 - name : Run tests (MacOS)
103102 if : matrix.OS == 'macos'
104- uses : nick-fields/retry@v2
103+ uses : nick-fields/retry@v3
105104 with :
106105 timeout_minutes : 10
107106 max_attempts : 3
@@ -111,13 +110,8 @@ jobs:
111110 pytest spyder_notebook -vv
112111 - name : Run tests (Windows)
113112 if : matrix.OS == 'windows'
114- uses : nick-fields/retry@v2
113+ uses : nick-fields/retry@v3
115114 with :
116115 timeout_minutes : 10
117116 max_attempts : 3
118117 command : pytest spyder_notebook -vv
119- - name : Upload coverage to Codecov
120- if : matrix.OS == 'ubuntu' && matrix.PYTHON_VERSION == '3.10'
121- uses : codecov/codecov-action@v3
122- with :
123- token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments