Skip to content

Commit 367f55c

Browse files
committed
chore(CI): remove the conda installation from the runners
1 parent 9e462c8 commit 367f55c

2 files changed

Lines changed: 10 additions & 23 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- uses: conda-incubator/setup-miniconda@v3
22+
- uses: actions/setup-python@v5
2323
with:
24-
miniforge-version: latest
25-
environment-file: conda/dev.yaml
26-
channels: conda-forge,nodefaults
27-
activate-environment: pysus
28-
auto-update-conda: true
29-
conda-solver: libmamba
24+
python-version: ${{ matrix.python-version }}
3025

3126
- name: Install dependencies
32-
shell: bash -l {0}
27+
shell: bash
3328
run: |
3429
pip install poetry poetry-plugin-export
3530
poetry config virtualenvs.create false
@@ -43,21 +38,21 @@ jobs:
4338
4439
- name: Linting
4540
if: matrix.os == 'ubuntu-latest'
46-
shell: bash -l {0}
41+
shell: bash
4742
run: pre-commit run --files pysus/**/*
4843

4944
- name: Tests (Linux)
5045
if: matrix.os != 'windows-latest'
51-
shell: bash -l {0}
46+
shell: bash
5247
run: |
5348
poetry run pytest -vv pysus/tests/ --retries 3 --retry-delay 15 --cov=pysus --cov-report=xml:coverage.xml --cov-report=term-missing
5449
5550
- name: Tests (Windows)
5651
if: matrix.os == 'windows-latest'
57-
shell: bash -l {0}
52+
shell: bash
5853
run: |
5954
export DUCKDB_NO_THREADS=1
60-
poetry run pytest -vv pysus/tests/ --timeout=480 -p no:cacheprovider -p no:asyncio
55+
poetry run pytest -vv pysus/tests/ --timeout=480 -p no:cacheprovider
6156
6257
- name: Upload coverage to Codecov
6358
if: matrix.os == 'ubuntu-latest'

.github/workflows/release.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,17 @@ jobs:
8484
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
8585
runs-on: ubuntu-latest
8686

87-
defaults:
88-
run:
89-
shell: bash -l {0}
90-
9187
steps:
9288
- uses: actions/checkout@v4
9389

94-
- uses: conda-incubator/setup-miniconda@v3
90+
- uses: actions/setup-python@v5
9591
with:
96-
miniforge-version: latest
97-
environment-file: conda/dev.yaml
98-
channels: conda-forge,nodefaults
99-
activate-environment: pysus
100-
auto-update-conda: true
101-
conda-solver: libmamba
92+
python-version: "3.12"
10293

10394
- name: Install dependencies
10495
run: |
10596
pip install poetry wget
97+
poetry config virtualenvs.create false
10698
poetry install --no-root --with docs
10799
108100
- name: Build docs

0 commit comments

Comments
 (0)