Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
a2dd2105
Commit
a2dd2105
authored
2 years ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Unittest and use dev branch of pylib and advancedtools in tox
parent
a2fee9d8
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!53
Release 0.1
,
!34
F insert auth
Pipeline
#28203
passed
2 years ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
tox.ini
+4
-1
4 additions, 1 deletion
tox.ini
unittests/scifolder_cfood.yml
+2
-2
2 additions, 2 deletions
unittests/scifolder_cfood.yml
with
7 additions
and
3 deletions
.gitignore
+
1
−
0
View file @
a2dd2105
...
@@ -13,3 +13,4 @@ provenance.yml
...
@@ -13,3 +13,4 @@ provenance.yml
*.jks
*.jks
*.tar.gz
*.tar.gz
*.sql
*.sql
/integrationtests/test-profile/custom/other/cert/
This diff is collapsed.
Click to expand it.
tox.ini
+
4
−
1
View file @
a2dd2105
[tox]
[tox]
envlist
=
py36, py37,
py38, py39, py310
envlist
=
py38, py39, py310
skip_missing_interpreters
=
true
skip_missing_interpreters
=
true
[testenv]
[testenv]
deps
=
.
deps
=
.
pytest
pytest
pytest-cov
pytest-cov
# TODO: Make this f-branch sensitive
git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@dev
commands
=
py.test --cov=caosdb -vv {posargs}
commands
=
py.test --cov=caosdb -vv {posargs}
[flake8]
[flake8]
max-line-length
=
100
max-line-length
=
100
This diff is collapsed.
Click to expand it.
unittests/scifolder_cfood.yml
+
2
−
2
View file @
a2dd2105
...
@@ -16,12 +16,12 @@ Data: # name of the converter
...
@@ -16,12 +16,12 @@ Data: # name of the converter
subtree
:
&template
subtree
:
&template
project_dir
:
# name of the first subtree element which is a converter
project_dir
:
# name of the first subtree element which is a converter
type
:
Directory
type
:
Directory
match
:
((?P<
year
>[0-9]{4,4})_)?(?P<identifier>.*)
match
:
((?P<
date
>[0-9]{4,4})_)?(?P<identifier>.*)
records
:
records
:
Project
:
# this is an identifiable in this case
Project
:
# this is an identifiable in this case
parents
:
parents
:
-
Project
# not needed as the name is equivalent
-
Project
# not needed as the name is equivalent
date
:
$
year
date
:
$
date
identifier
:
$identifier
identifier
:
$identifier
subtree
:
subtree
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment