File tree Expand file tree Collapse file tree 6 files changed +61
-237
lines changed
Expand file tree Collapse file tree 6 files changed +61
-237
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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+ devcontainer-build :
20+ uses : datajoint/.github/.github/workflows/devcontainer-build.yaml@main
21+ devcontainer-publish :
22+ needs :
23+ - devcontainer-build
24+ uses : datajoint/.github/.github/workflows/devcontainer-publish.yaml@main
25+ secrets :
26+ DOCKERHUB_USERNAME : ${{secrets.DOCKERHUB_USERNAME}}
27+ DOCKERHUB_TOKEN : ${{secrets.DOCKERHUB_TOKEN_FOR_ELEMENTS}}
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+ jobs :
7+ devcontainer-build :
8+ uses : datajoint/.github/.github/workflows/devcontainer-build.yaml@main
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_array_ephys --check --verbose --target-version py${python_version//.}
34+
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments