Skip to content

Commit

Permalink
Restore environment-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 20, 2023
1 parent abc6676 commit 3b82bdf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
16 changes: 16 additions & 0 deletions .ci/environment-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# This environment is smaller than the dev environment.
#
# Until conda supports creating env from pyproject.toml
# (https://github.com/conda/conda/pull/12666)
# we need to maintain environment-ci.yml file that is inline with deps in
# pyproject.toml
#
name: jupytext-ci
channels:
- defaults
- conda-forge
dependencies:
- jupyterlab
- nbformat>=5.1.2
- pandoc==2.16.2
6 changes: 3 additions & 3 deletions .github/workflows/step_tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
python-version: [ 3.9 ]
python-version: [ 3.11 ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -31,10 +31,10 @@ jobs:
with:
auto-update-conda: true
auto-activate-base: false
activate-environment: jupytext-dev
activate-environment: jupytext-ci
python-version: ${{ matrix.python-version }}
channels: defaults,conda-forge
environment-file: environment.yml
environment-file: .ci/environment-ci.yml
use-only-tar-bz2: true

- name: Install from source
Expand Down
8 changes: 1 addition & 7 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ dependencies:
- python>=3.8
- jupyterlab>=4.0.0
- nbformat>=5.1.2
- pyyaml
- toml
- markdown-it-py>=1.0.0,<3.0.0
- mdit-py-plugins
- nbconvert
- ipykernel
- pandoc==2.16.2
- pre-commit
- nodejs>=20
- pandoc==2.16.2

0 comments on commit 3b82bdf

Please sign in to comment.