Skip to content

Commit

Permalink
Use a default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 24, 2023
1 parent ca7df36 commit 0919795
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/step_tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
python-version: [ 3.11 ]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}

steps:
- name: Checkout
Expand All @@ -38,29 +41,26 @@ jobs:
use-only-tar-bz2: true

- name: Install from source
shell: pwsh
run: python -m pip install -e '.[test-external,test-cov]'

- name: Create kernel
shell: pwsh
run: |
python -m ipykernel install --name jupytext-ci --user
- name: Conda list
shell: pwsh
run: conda list

- name: Install a Jupyter Kernel
run: python -m ipykernel install --name jupytext-ci --user

- name: Test lab extension
shell: pwsh
run: |
# Check extension
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "jupyterlab-jupytext.*OK"
python -m jupyterlab.browser_check
- name: Test with pytest
shell: pwsh
run: pytest --cov

- name: Upload coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
3 changes: 3 additions & 0 deletions .github/workflows/step_tests-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ jobs:

- name: Upload coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true

0 comments on commit 0919795

Please sign in to comment.