Reorganize test dir to ensure test of installed pkg
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install -U -r test/requirements.txt
|
||||
python -m pip install -U -r tests/requirements.txt
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cd test
|
||||
cd tests
|
||||
export SKIP_SYNTH_TESTS=1
|
||||
export STUB_SIMULATOR=1
|
||||
pytest
|
||||
@@ -59,13 +59,9 @@ jobs:
|
||||
run: |
|
||||
python -m pip install -U pylint
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install .
|
||||
|
||||
- name: Run Lint
|
||||
run: |
|
||||
pylint --rcfile test/pylint.rc peakrdl
|
||||
pylint --rcfile tests/pylint.rc src/peakrdl
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
mypy:
|
||||
@@ -83,7 +79,7 @@ jobs:
|
||||
|
||||
- name: Type Check
|
||||
run: |
|
||||
mypy --config-file test/mypy.ini peakrdl
|
||||
mypy --config-file tests/mypy.ini src/peakrdl
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
build_sdist:
|
||||
|
||||
Reference in New Issue
Block a user