We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65270b4 commit 3e270acCopy full SHA for 3e270ac
.github/workflows/test.yaml
@@ -0,0 +1,30 @@
1
+name: Test
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
8
9
+ workflow_dispatch:
10
+jobs:
11
+ tests:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ py_ver: ["3.9", "3.10"]
16
+ mysql_ver: ["8.0"]
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: Set up Python ${{matrix.py_ver}}
20
+ uses: actions/setup-python@v4
21
+ with:
22
+ python-version: ${{matrix.py_ver}}
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install flake8 "black[jupyter]"
27
+ - name: Run style tests
28
29
+ python_version=${{matrix.py_ver}}
30
+ black element_lab --check --verbose --target-version py${python_version//.}
0 commit comments