Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More CI Cleanup #803

Merged
merged 1 commit into from Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 0 additions & 22 deletions .github/workflows/check-release.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/downstream.yml
Expand Up @@ -62,3 +62,18 @@ jobs:
with:
package_name: notebook
test_command: pytest -vv --ignore-glob=notebook/tests/selenium/* --ignore-glob=notebook/nbconvert/tests/* --ignore-glob=notebook/services/nbconvert/tests/*

downstream_check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- notebook
- ipywidgets
- jupyter_server
- nbconvert
- ipython
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Expand Up @@ -59,7 +59,6 @@ jobs:
only_create_file: 1
- name: Run the unit tests
run: |
export PIP_CONSTRAINT="./contraints_file.txt"
hatch run test:nowarn || hatch run test:nowarn --lf

test_docs:
Expand All @@ -84,8 +83,7 @@ jobs:
python_version: "3.11"
- name: Run the tests
run: |
export PIP_PRE=1
hatch run test:nowarn || hatch run test:nowarn --lf
PIP_PRE=1 hatch run test:nowarn || hatch run test:nowarn --lf

make_sdist:
name: Make SDist
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,9 +1,9 @@
# Traitlets

[![Tests](https://github.com/ipython/traitlets/actions/workflows/tests.yml/badge.svg)](https://github.com/ipython/traitlets/actions/workflows/tests.yml)
[![Test downstream projects](https://github.com/ipython/traitlets/actions/workflows/downstream.yml/badge.svg)](https://github.com/ipython/traitlets/actions/workflows/downstream.yml)
[![Documentation Status](https://readthedocs.org/projects/traitlets/badge/?version=latest)](https://traitlets.readthedocs.io/en/latest/?badge=latest)
[![Tidelift](https://tidelift.com/subscription/pkg/pypi-traitlets)](https://tidelift.com/badges/package/pypi/traitlets?style=flat)
[![codecov](https://codecov.io/gh/ipython/traitlets/branch/main/graph/badge.svg?token=HcsbLGEmI1)](https://codecov.io/gh/ipython/traitlets)
[![Tidelift](https://tidelift.com/subscription/pkg/pypi-traitlets)](https://tidelift.com/badges/package/pypi/traitlets)

| | |
| ------------- | ------------------------------------ |
Expand Down