FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
datajoint-python/.github/workflows/development.yaml at master · mohammadbashiri/datajoint-python · GitHub
mohammadbashiri
datajoint-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
datajoint-python
/
.github
/
workflows
/
development.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
51 lines (51 loc) · 1.67 KB
Breadcrumbs
datajoint-python
/
.github
/
workflows
/
development.yaml
Copy path
File metadata and controls
51 lines (51 loc) · 1.67 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name
:
Development
on
:
push
:
branches
:
-
'
**
'
#
every branch
-
'
!stage*
'
#
exclude branches beginning with stage
pull_request
:
branches
:
-
'
**
'
#
every branch
-
'
!stage*
'
#
exclude branches beginning with stage
jobs
:
test
:
if
:
github.event_name == 'push' || github.event_name == 'pull_request'
runs-on
:
ubuntu-latest
strategy
:
matrix
:
py_ver
:
["3.8"]
mysql_ver
:
["8.0", "5.7"]
include
:
-
py_ver
:
"
3.7
"
mysql_ver
:
"
5.7
"
-
py_ver
:
"
3.6
"
mysql_ver
:
"
5.7
"
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python ${{matrix.py_ver}}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{matrix.py_ver}}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install flake8
-
name
:
Run syntax tests
run
:
flake8 datajoint --count --select=E9,F63,F7,F82 --show-source --statistics
-
name
:
Run primary tests
env
:
UID
:
"
1001
"
GID
:
"
121
"
PY_VER
:
${{matrix.py_ver}}
MYSQL_VER
:
${{matrix.mysql_ver}}
ALPINE_VER
:
"
3.10
"
MINIO_VER
:
RELEASE.2021-09-03T03-56-13Z
COMPOSE_HTTP_TIMEOUT
:
"
120
"
COVERALLS_SERVICE_NAME
:
travis-ci
COVERALLS_REPO_TOKEN
:
fd0BoXG46TPReEem0uMy7BJO5j0w1MQiY
run
:
docker-compose -f LNX-docker-compose.yml up --build --exit-code-from app
-
name
:
Run style tests
run
:
|
flake8 --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E722,F401,W605 datajoint \
--count --max-complexity=62 --max-line-length=127 --statistics
Back
|
FazBrowse Home
|
New Git URL