Skip to content

Commit 7f2e39f

Browse files
authored
CI Cleanup (#463)
1 parent 98004ab commit 7f2e39f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@ jobs:
4141
if: ${{ matrix.os == 'ubuntu-latest' }}
4242
run: |
4343
hatch run cov:test -n auto --cov-fail-under 80 || hatch run test:test --lf
44-
pip install codecov
45-
codecov
4644
4745
- name: Run the tests on Windows and MacOS
4846
if: ${{ matrix.os != 'ubuntu-latest' }}
4947
run: hatch run cov:test -s -n auto || hatch run cov:test -s --lf
5048

49+
- name: Codecov
50+
run: |
51+
pip install codecov
52+
codecov
53+
5154
generate_changelog:
5255
runs-on: ubuntu-20.04
5356
timeout-minutes: 10
@@ -90,7 +93,6 @@ jobs:
9093
only_create_file: 1
9194
- name: Run the unit tests
9295
run: |
93-
export PIP_CONSTRAINT="./contraints_file.txt"
9496
hatch run test:nowarn || hatch run test:nowarn --lf
9597
9698
test_prereleases:
@@ -104,8 +106,7 @@ jobs:
104106
python_version: "3.11"
105107
- name: Run the tests
106108
run: |
107-
export PIP_PRE=1
108-
hatch run test:nowarn || hatch run test:nowarn --lf
109+
PIP_PRE=1 hatch run test:nowarn || hatch run test:nowarn --lf
109110
110111
docs:
111112
runs-on: ubuntu-20.04

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Jupyter Releaser
22

3+
[![Build Status](https://github.com/jupyter-server/jupyter-releaser/actions/workflows/test.yml/badge.svg?query=branch%3Amain++)](https://github.com/jupyter-server/jupyter_releaser/actions/workflows/test.yml/badge.svg?query=branch%3Amain++)
4+
[![codecov](https://codecov.io/gh/jupyter-server/jupyter_releaser/branch/main/graph/badge.svg?token=6OPBSEMMUG)](https://codecov.io/gh/jupyter-server/jupyter_releaser)
5+
[![Documentation Status](https://readthedocs.org/projects/jupyter-releaser/badge/?version=latest)](http://jupyter-releaser.readthedocs.io/en/latest/?badge=latest)
6+
37
**Jupyter Releaser** contains a set of helper scripts and GitHub Actions to aid in automated releases of Python and npm packages.
48

59
## Installation

0 commit comments

Comments
 (0)