Skip to content

Commit b875806

Browse files
committed
add more github config
1 parent 359b92f commit b875806

File tree

5 files changed

+69
-6
lines changed

5 files changed

+69
-6
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# dependabot.yaml reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2+
version: 2
3+
updates:
4+
# Maintain dependencies in our GitHub Workflows
5+
- package-ecosystem: github-actions
6+
directory: /
7+
schedule:
8+
interval: monthly

.github/workflows/release.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Release
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- docs/**
6+
- .github/workflows/*.yaml
7+
- '!.github/workflows/release.yaml'
8+
push:
9+
paths-ignore:
10+
- docs/**
11+
- .github/workflows/*.yaml
12+
- '!.github/workflows/release.yaml'
13+
branches:
14+
- main
15+
tags: ['**']
16+
workflow_dispatch:
17+
jobs:
18+
build:
19+
runs-on: ubuntu-24.04
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.12'
25+
cache: pip
26+
- name: install build package
27+
run: |
28+
pip install --upgrade pip
29+
pip install build
30+
pip freeze
31+
- name: build release
32+
run: |
33+
python -m build --sdist --wheel .
34+
ls -l dist
35+
- uses: actions/upload-artifact@v4
36+
with:
37+
name: dist-${{ github.sha }}
38+
path: dist/*
39+
if-no-files-found: error
40+
upload-pypi:
41+
permissions:
42+
id-token: write
43+
environment: release
44+
runs-on: ubuntu-24.04
45+
if: startsWith(github.ref, 'refs/tags/')
46+
needs:
47+
- build
48+
steps:
49+
- uses: actions/download-artifact@v4
50+
with:
51+
path: dist
52+
merge-multiple: true
53+
- name: Publish to PyPI
54+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/test.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ env:
2222

2323
jobs:
2424
test:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626
timeout-minutes: 10
27-
2827
strategy:
28+
# Keep running even if one variation of the job fail
29+
fail-fast: false
2930
matrix:
3031
python:
32+
- '3.9'
33+
- '3.10'
3134
- '3.11'
32-
35+
- '3.12'
3336
steps:
3437
- uses: actions/checkout@v4
3538
- uses: actions/setup-python@v5

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ Make sure to also follow [Project Jupyter's Code of Conduct](https://github.com/
99
for a friendly and welcoming collaborative environment.
1010

1111
If you need some help, feel free to ask on [Zulip](https://jupyter.zulipchat.com/#narrow/channel/469744-jupyterhub/) or [Discourse](https://discourse.jupyter.org/).
12-

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JupyterHealth client
1+
# JupyterHealth client
22

33
A Python client library for the JupyterHealth exchange.
44

@@ -16,5 +16,4 @@ from jupyter_health_client import JupyterHealthClient
1616
client = JupyterHealthClient()
1717
```
1818

19-
2019
For more information, see [examples](https://jupyterhealth.org/software-documentation/)

0 commit comments

Comments
 (0)