Skip to content

Commit 0705b5c

Browse files
authored
Merge pull request #33 from kabilar/main
Update GitHub Actions
2 parents 8e0a986 + bc6f490 commit 0705b5c

File tree

15 files changed

+155
-224
lines changed

15 files changed

+155
-224
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
## Bug Report
11+
12+
### Description
13+
A clear and concise description of what is the overall operation that is intended to be performed that resulted in an error.
14+
15+
### Reproducibility
16+
Include:
17+
- OS (WIN | MACOS | Linux)
18+
- DataJoint Element-Animal Version
19+
- MySQL Version
20+
- MySQL Deployment Strategy (local-native | local-docker | remote)
21+
- Minimum number of steps to reliably reproduce the issue
22+
- Complete error stack as a result of evaluating the above steps
23+
24+
### Expected Behavior
25+
A clear and concise description of what you expected to happen.
26+
27+
### Screenshots
28+
If applicable, add screenshots to help explain your problem.
29+
30+
### Additional Research and Context
31+
Add any additional research or context that was conducted in creating this report.
32+
33+
For example:
34+
- Related GitHub issues and PR's either within this repository or in other relevant repositories.
35+
- Specific links to specific lines or a focus within source code.
36+
- Relevant summary of Maintainers development meetings, milestones, projects, etc.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: DataJoint Contribution Guideline
4+
url: https://datajoint.com/docs/community/contribute/
5+
about: Please make sure to review the DataJoint Contribution Guidelines
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for a new feature
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
## Feature Request
11+
12+
### Problem
13+
A clear and concise description how this idea has manifested and the context. Elaborate on the need for this feature and/or what could be improved. Ex. I'm always frustrated when [...]
14+
15+
### Requirements
16+
A clear and concise description of the requirements to satisfy the new feature. Detail what you expect from a successful implementation of the feature. Ex. When using this feature, it should [...]
17+
18+
### Justification
19+
Provide the key benefits in making this a supported feature. Ex. Adding support for this feature would ensure [...]
20+
21+
### Alternative Considerations
22+
Do you currently have a work-around for this? Provide any alternative solutions or features you've considered.
23+
24+
### Related Errors
25+
Add any errors as a direct result of not exposing this feature.
26+
27+
Please include steps to reproduce provided errors as follows:
28+
- OS (WIN | MACOS | Linux)
29+
- DataJoint Element-Animal Version
30+
- MySQL Version
31+
- MySQL Deployment Strategy (local-native | local-docker | remote)
32+
- Minimum number of steps to reliably reproduce the issue
33+
- Complete error stack as a result of evaluating the above steps
34+
35+
### Screenshots
36+
If applicable, add screenshots to help explain your feature.
37+
38+
### Additional Research and Context
39+
Add any additional research or context that was conducted in creating this feature request.
40+
41+
For example:
42+
- Related GitHub issues and PR's either within this repository or in other relevant repositories.
43+
- Specific links to specific lines or a focus within source code.
44+
- Relevant summary of Maintainers development meetings, milestones, projects, etc.
45+
- Any additional supplemental web references or links that would further justify this feature request.

.github/workflows/development.yaml

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

.github/workflows/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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

.github/workflows/test.yaml

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

.github/workflows/u24_element_before_release.yml

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

.github/workflows/u24_element_release_call.yml

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

.github/workflows/u24_element_tag_to_release.yml

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

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
44

5+
## [0.1.5] - 2023-06-20
6+
7+
+ Update - GitHub Actions workflows
8+
+ Fix - Remove Google Analytics key
9+
+ Add - GitHub Issue Templates
10+
511
## [0.1.4] - 2023-05-11
612

713
+ Fix - `.ipynb` dark mode output for all notebooks.
@@ -33,6 +39,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
3339
+ Add - GitHub Action release process
3440
+ Add - `session` schema
3541

42+
[0.1.5]: https://github.com/datajoint/element-session/releases/tag/0.1.5
3643
[0.1.4]: https://github.com/datajoint/element-session/releases/tag/0.1.4
3744
[0.1.3]: https://github.com/datajoint/element-session/releases/tag/0.1.3
3845
[0.1.2]: https://github.com/datajoint/element-session/releases/tag/0.1.2

0 commit comments

Comments
 (0)