Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Update workflow actions (CI) #504

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/linux-pip-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ jobs:
RUNNER_OS: 'ubuntu'
USE_CONDA: 'false'
strategy:
fail-fast: false
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.9', '3.10']
timeout-minutes: 20
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Install System Packages
run: |
run: |
sudo apt-get update
sudo apt-get install libegl1-mesa libopengl0
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
auto-update-conda: false
auto-activate-base: false
python-version: ${{ matrix.PYTHON_VERSION }}
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install package and dependencies
shell: bash -l {0}
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
verbose: true
15 changes: 7 additions & 8 deletions .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,32 @@ jobs:
RUNNER_OS: 'ubuntu'
USE_CONDA: 'true'
strategy:
fail-fast: false
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.9', '3.10']
timeout-minutes: 20
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Install System Packages
run: |
run: |
sudo apt-get update
sudo apt-get install libegl1-mesa libopengl0
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
auto-update-conda: true
auto-activate-base: false
channels: conda-forge
miniforge-variant: Mambaforge
python-version: ${{ matrix.PYTHON_VERSION }}
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install package dependencies
shell: bash -l {0}
run: |
mamba install --file requirements/posix.txt -y -q
conda install --file requirements/posix.txt -y -q
- name: Install test dependencies
shell: bash -l {0}
run: mamba install --file requirements/tests.txt -y -q
run: conda install --file requirements/tests.txt -y -q
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand All @@ -69,7 +68,7 @@ jobs:
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
verbose: true
13 changes: 6 additions & 7 deletions .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,28 @@ jobs:
RUNNER_OS: 'macos'
USE_CONDA: 'true'
strategy:
fail-fast: false
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.9', '3.10']
timeout-minutes: 25
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
auto-update-conda: true
auto-activate-base: false
channels: conda-forge
miniforge-variant: Mambaforge
python-version: ${{ matrix.PYTHON_VERSION }}
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install package dependencies
shell: bash -l {0}
run: |
mamba install --file requirements/posix.txt -y -q
conda install --file requirements/posix.txt -y -q
- name: Install test dependencies
shell: bash -l {0}
run: mamba install --file requirements/tests.txt -y -q
run: conda install --file requirements/tests.txt -y -q
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand All @@ -65,7 +64,7 @@ jobs:
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
verbose: true
11 changes: 5 additions & 6 deletions .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,28 @@ jobs:
RUNNER_OS: 'windows'
USE_CONDA: 'true'
strategy:
fail-fast: false
fail-fast: false
matrix:
PYTHON_VERSION: ['3.8', '3.9', '3.10']
timeout-minutes: 25
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
auto-update-conda: true
auto-activate-base: false
channels: conda-forge
miniforge-variant: Mambaforge
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install package dependencies
shell: bash -l {0}
run: mamba install --file requirements/windows.txt -y -q
run: conda install --file requirements/windows.txt -y -q
- name: Install test dependencies
shell: bash -l {0}
run: |
mamba install --file requirements/tests.txt -y -q
conda install --file requirements/tests.txt -y -q
- name: Install Package
shell: bash -l {0}
run: pip install -e .
Expand All @@ -65,7 +64,7 @@ jobs:
pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \
pytest spyder_kernels --cov=spyder_kernels -vv
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
verbose: true
Loading