mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-09 21:54:27 +00:00
no working-directory in actions
This commit is contained in:
parent
da2eaea51e
commit
201ed569de
3 changed files with 5 additions and 6 deletions
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
@ -24,13 +24,12 @@ jobs:
|
||||||
working-directory: nwb_linkml
|
working-directory: nwb_linkml
|
||||||
|
|
||||||
- uses: pavelzw/pytest-action@v2
|
- uses: pavelzw/pytest-action@v2
|
||||||
working-directory: nwb_linkml
|
|
||||||
with:
|
with:
|
||||||
emoji: true
|
emoji: true
|
||||||
verbose: true
|
verbose: true
|
||||||
job-summary: true
|
job-summary: true
|
||||||
|
custom_arguments: 'nwb_linkml'
|
||||||
|
|
||||||
- working-directory: nwb_linkml
|
- run: "coveralls --service=github"
|
||||||
run: "coveralls --service=github"
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -5,6 +5,7 @@ Wraps the :class:`nwb_schema_language.Namespaces` and other objects with conveni
|
||||||
for extracting information and generating translated schema
|
for extracting information and generating translated schema
|
||||||
"""
|
"""
|
||||||
import pdb
|
import pdb
|
||||||
|
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from pydantic import BaseModel, Field, validator, PrivateAttr
|
from pydantic import BaseModel, Field, validator, PrivateAttr
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import pytest
|
import pytest
|
||||||
import shutil
|
import os
|
||||||
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import yaml
|
import yaml
|
||||||
from yaml import CDumper as Dumper
|
from yaml import CDumper as Dumper
|
||||||
|
@ -36,7 +35,7 @@ def test_preload_maps():
|
||||||
assert 'neurodata_type_inc' in loaded['groups'][0]['datasets'][0].keys()
|
assert 'neurodata_type_inc' in loaded['groups'][0]['datasets'][0].keys()
|
||||||
assert 'data_type_inc' not in loaded['groups'][0]['datasets'][0].keys()
|
assert 'data_type_inc' not in loaded['groups'][0]['datasets'][0].keys()
|
||||||
|
|
||||||
shutil.rmtree(temp_name)
|
os.remove(temp_name)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue