Skip to content

Commit

Permalink
Added new notebook CIs + README badge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Aug 9, 2023
1 parent 4cccbb4 commit 1584bf8
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/incidence_temporal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: incidence_temporal

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
notebooks:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: pip install jupyter nbconvert nbformat

- name: Launch notebook
run: jupyter nbconvert --to notebook --execute apps/bc_incidence_over_time.ipynb --ExecutePreprocessor.kernel_name='python3' --output ../notebook_executed

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: notebook
path: notebook_executed.ipynb
32 changes: 32 additions & 0 deletions .github/workflows/mortality_temporal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: mortality_temporal

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
notebooks:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: pip install jupyter nbconvert nbformat

- name: Launch notebook
run: jupyter nbconvert --to notebook --execute apps/bc_mortality_over_time.ipynb --ExecutePreprocessor.kernel_name='python3' --output ../notebook_executed

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: notebook
path: notebook_executed.ipynb
32 changes: 32 additions & 0 deletions .github/workflows/survival.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: survival

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
notebooks:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: pip install jupyter nbconvert nbformat

- name: Launch notebook
run: jupyter nbconvert --to notebook --execute apps/bc_survival.ipynb --ExecutePreprocessor.kernel_name='python3' --output ../notebook_executed

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: notebook
path: notebook_executed.ipynb
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ They can be accessed by clicking their respective colab badge below:
| Incidence rate world map | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/breast_cancer_incidence_rate.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/incidence.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/incidence/badge.svg" alt="Open In Colab"/></a> |
| Mortality rate world map | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/breast_cancer_mortality_rate.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/mortality.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/mortality/badge.svg" alt="Open In Colab"/></a> |
| Overall cancer statistics | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/breast_cancer_statistics.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/statistics.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/statistics/badge.svg" alt="Open In Colab"/></a> |
| Survival country comparison | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/bc_survival.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/survival.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/survival/badge.svg" alt="Open In Colab"/></a> |
| Cancer incidence over time | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/bc_incidence_over_time.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/incidence_temporal.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/incidence_temporal/badge.svg" alt="Open In Colab"/></a> |
| Cancer mortality over time | <a href="https://colab.research.google.com/github/andreped/breast-cancer-stats/blob/main/apps/bc_mortality_over_time.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> | <a href="https://github.com/andreped/breast-cancer-stats/actions/workflows/mortality_temporal.yml" target="_parent"><img src="https://github.com/andreped/breast-cancer-stats/workflows/mortality_temporal/badge.svg" alt="Open In Colab"/></a> |

## [Dependencies](https://github.com/andreped/breast-cancer-stats#dependencies)

Expand Down

0 comments on commit 1584bf8

Please sign in to comment.