-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from dnv-opensource/43-brake-the-link-to-marit…
…ime-schema 43 brake the link to maritime schema
- Loading branch information
Showing
227 changed files
with
8,246 additions
and
5,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[paths] | ||
source = | ||
src/trafficgen | ||
*/site-packages/trafficgen | ||
|
||
[run] | ||
source = trafficgen | ||
branch = True | ||
|
||
[report] | ||
fail_under = 10.0 | ||
show_missing = True | ||
skip_covered = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
name: Unit Tests (py312) | ||
# Test also with Python 3.12 (experimental; workflow will not fail on error.) | ||
name: Unit Tests (py313) | ||
# Test also with Python 3.13 (experimental; workflow will not fail on error.) | ||
|
||
on: workflow_call | ||
|
||
jobs: | ||
test312: | ||
name: Test on ${{matrix.python.toxenv}}-${{matrix.platform.toxenv}} (experimental) | ||
test313: | ||
name: Test on ${{matrix.python.version}}-${{matrix.platform.runner}} (experimental) | ||
continue-on-error: true | ||
runs-on: ${{ matrix.platform.runner }} | ||
strategy: | ||
matrix: | ||
platform: | ||
- runner: ubuntu-latest | ||
toxenv: linux | ||
- runner: windows-latest | ||
toxenv: windows | ||
python: | ||
- version: '3.13.0a2' | ||
toxenv: 'py313' | ||
- version: '3.13.0-alpha - 3.13.0' | ||
uvpy: '3.13' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v2 | ||
with: | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
- name: Install Python ${{ matrix.python.version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python.version }} | ||
cache: 'pip' # cache pip dependencies | ||
- name: Install tox | ||
run: python -m pip install tox | ||
- name: Install the project | ||
run: uv sync -p ${{ matrix.python.uvpy }} -U --no-dev | ||
- name: Run pytest | ||
run: tox -e ${{matrix.python.toxenv}}-${{matrix.platform.toxenv}} | ||
run: > | ||
uv run --with pytest --with pytest-cov | ||
pytest --cov |
Oops, something went wrong.