diff --git a/.github/workflows/step_tests-conda.yml b/.github/workflows/step_tests-conda.yml index ce105fc6..1f67cdda 100644 --- a/.github/workflows/step_tests-conda.yml +++ b/.github/workflows/step_tests-conda.yml @@ -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 @@ -38,20 +41,15 @@ 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 @@ -59,8 +57,10 @@ jobs: 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 diff --git a/.github/workflows/step_tests-pip.yml b/.github/workflows/step_tests-pip.yml index 57ce0b57..7f633682 100644 --- a/.github/workflows/step_tests-pip.yml +++ b/.github/workflows/step_tests-pip.yml @@ -65,3 +65,6 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v3 + with: + fail_ci_if_error: true + verbose: true