File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Maintain dependencies for GitHub Actions
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, workflow_dispatch]
4+
5+ jobs :
6+ all_tests :
7+ name : " Run NB Tests"
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions/setup-python@v2
12+ - uses : abatilo/actions-poetry@v2.0.0
13+ with :
14+ poetry-version : 1.1.0
15+ - name : Install ipyannotator
16+ run : poetry install
17+
18+ - name : Read Notebooks
19+ run : poetry run nbdev_read_nbs
20+
21+ - name : Check Notebooks Clean
22+ run : ./scripts/check_clean_nb.sh
23+
24+ - name : Check Notebooks - Lib Diff
25+ run : ./scripts/check_lib_diff.sh
26+
27+ - name : Run Notebooks tests
28+ run : poetry run nbdev_test_nbs
29+
30+
31+ release_whl :
32+ needs : all_tests
33+ name : " Upload to pypi"
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v2
37+ - uses : actions/setup-python@v2
38+ - uses : abatilo/actions-poetry@v2.0.0
39+ with :
40+ poetry-version : 1.1.0
41+ - name : Upload
42+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
43+ run : poetry publish --build -r palaimon -u $POETRY_HTTP_BASIC_PYPI_USERNAME -p $POETRY_HTTP_BASIC_PYPI_PASSWORD
44+ env :
45+ POETRY_HTTP_BASIC_PYPI_USERNAME : ${{ secrets.POETRY_HTTP_BASIC_PYPI_USERNAME }}
46+ POETRY_HTTP_BASIC_PYPI_PASSWORD : ${{ secrets.POETRY_HTTP_BASIC_PYPI_PASSWORD }}
47+ POETRY_REPOSITORIES_PALAIMON_URL : ${{ secrets.POETRY_REPOSITORIES_PALAIMON_URL }}
Original file line number Diff line number Diff line change 11# ipyannotator - the infinitely hackable annotation framework
22
3-
3+ ![ CI-Badge ] ( https://github.com/palaimon/ipyannotator/workflows/CI/badge.svg )
44
55
66![ jupytercon 2020] ( https://jupytercon.com/_nuxt/img/5035c8d.svg )
You can’t perform that action at this time.
0 commit comments