Skip to content

Commit d895f88

Browse files
committed
fix: update element's test flow
1 parent d3f9eef commit d895f88

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
name: Test
22
on:
33
push:
4+
branches:
5+
- main
46
pull_request:
7+
branches:
8+
- main
59
workflow_dispatch:
610
jobs:
7-
devcontainer-build:
8-
uses: datajoint/.github/.github/workflows/devcontainer-build.yaml@main
911
tests:
1012
runs-on: ubuntu-latest
1113
strategy:
1214
matrix:
1315
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"
16+
mysql_ver: ["8.0"]
2017
steps:
2118
- uses: actions/checkout@v3
2219
- name: Set up Python ${{matrix.py_ver}}
@@ -31,4 +28,4 @@ jobs:
3128
run: |
3229
python_version=${{matrix.py_ver}}
3330
black element_optogenetics --check --verbose --target-version py${python_version//.}
34-
31+
black notebooks --check --verbose --target-version py${python_version//.}

0 commit comments

Comments
 (0)