Skip to content

Commit 4f53b14

Browse files
Merge pull request #18 from kabilar/main
Update GitHub Actions and citation
2 parents c9a1a8f + b60bd19 commit 4f53b14

File tree

8 files changed

+73
-65
lines changed

8 files changed

+73
-65
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
make_github_release:
6+
uses: datajoint/.github/.github/workflows/make_github_release.yaml@main
7+
pypi_release:
8+
needs: make_github_release
9+
uses: datajoint/.github/.github/workflows/pypi_release.yaml@main
10+
secrets:
11+
TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}
12+
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
13+
with:
14+
UPLOAD_URL: ${{needs.make_github_release.outputs.release_upload_url}}
15+
mkdocs_release:
16+
uses: datajoint/.github/.github/workflows/mkdocs_release.yaml@main
17+
permissions:
18+
contents: write
19+

.github/workflows/test.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "0 8 * * 1"
8+
jobs:
9+
tests:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
py_ver: ["3.9", "3.10"]
14+
mysql_ver: ["8.0", "5.7"]
15+
include:
16+
- py_ver: "3.8"
17+
mysql_ver: "5.7"
18+
- py_ver: "3.7"
19+
mysql_ver: "5.7"
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Python ${{matrix.py_ver}}
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: ${{matrix.py_ver}}
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install flake8 "black[jupyter]"
30+
- name: Run style tests
31+
run: |
32+
python_version=${{matrix.py_ver}}
33+
black element_zstack --check --verbose --target-version py${python_version//.}
34+

.github/workflows/u24_element_before_release.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/u24_element_release_call.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/u24_element_tag_to_release.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.1.2] - 2023-07-28
7+
8+
+ Update - GitHub Actions with new reusable workflows
9+
+ Add - BossDB citation
10+
611
## [0.1.1] - 2023-05-22
712

813
+ Add - Cellpose citation
@@ -13,5 +18,6 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
1318
+ Add - `bossdb` schema
1419
+ Add - Upload utilty to create resources and upload data to BossDB
1520

21+
[0.1.2]: https://github.com/datajoint/element-zstack/releases/tag/0.1.2
1622
[0.1.1]: https://github.com/datajoint/element-zstack/releases/tag/0.1.1
1723
[0.1.0]: https://github.com/datajoint/element-zstack/releases/tag/0.1.0

docs/src/citation.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@
33
If your work uses the following resources, please cite the respective manuscript and/or Research Resource Identifier (RRID):
44

55
+ DataJoint Element ZStack - Version {{ PATCH_VERSION }}
6-
+ Yatsenko D, Nguyen T, Shen S, Gunalan K, Turner CA, Guzman R, Sasaki M, Sitonic D,
7-
Reimer J, Walker EY, Tolias AS. DataJoint Elements: Data Workflows for
8-
Neurophysiology. bioRxiv. 2021 Jan 1. doi: https://doi.org/10.1101/2021.03.30.437358
6+
+ Yatsenko D, Nguyen T, Shen S, Gunalan K, Turner CA, Guzman R, Sasaki M, Sitonic D,
7+
Reimer J, Walker EY, Tolias AS. DataJoint Elements: Data Workflows for
8+
Neurophysiology. bioRxiv. 2021 Jan 1. doi: https://doi.org/10.1101/2021.03.30.437358
99

10-
+ [RRID:SCR_021894](https://scicrunch.org/resolver/SCR_021894)
10+
+ [RRID:SCR_021894](https://scicrunch.org/resolver/SCR_021894)
1111

1212
+ Cellpose
13-
+ [Manuscripts](https://github.com/MouseLand/cellpose#citation)
13+
+ [Manuscripts](https://github.com/MouseLand/cellpose#citation)
14+
15+
+ Intern
16+
+ [Manuscript](https://bossdb.org/tools/intern)
17+
18+
+ BossDB
19+
+ [Manuscript](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8885591/)
20+
21+
+ [RRID:SCR_017273](https://scicrunch.org/resolver/SCR_017273)

element_zstack/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata."""
2-
__version__ = "0.1.1"
2+
__version__ = "0.1.2"

0 commit comments

Comments
 (0)