-
Notifications
You must be signed in to change notification settings - Fork 0
Dataset-Test #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dataset-Test #13
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3a7c2e0
fix: pre-commit syntax
ddevin96 5b51497
feat: convention name for Mock
ddevin96 a756d11
fix: add download and process to dataset __init__ and move hif to hif…
tizianocitro f76919f
fix: pre-commit syntax
ddevin96 cd50ff7
chore: sync with feat/data
ddevin96 248cb20
feat: add local folder for datasets
ddevin96 3ddec23
feat: add zst support
ddevin96 2e583d7
feat: add zst support in toml
ddevin96 97fdfed
feat: tune test for dataset with mocks
ddevin96 4ec83ec
feat: mapping every type of HIF to ids from 0
ddevin96 7fb3f07
fix: removed never called check on hg - re-added check on download
ddevin96 3e2c7d9
chore: moving logic of test to mock class
ddevin96 6da2f11
chore: basic struct readme, add coverage test badge
ddevin96 bbc3429
chore: forgot uv in action
ddevin96 c48e1c0
chore: forgot how to type
ddevin96 e70ad77
chore: tune coverage upload only on main
ddevin96 4ae5880
chore: structure README
ddevin96 98aef3c
chore: tune README
ddevin96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,35 @@ | ||
| name: Run tests and upload coverage | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Run tests and collect coverage | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 2 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.14" | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v6 | ||
| - name: Install dependencies | ||
| run: | | ||
| uv venv | ||
| uv pip install -e . | ||
|
|
||
| - name: Run tests | ||
| run: uv run pytest --cov --cov-branch --cov-report=xml | ||
|
|
||
| - name: Upload results to Codecov | ||
| uses: codecov/codecov-action@v5 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} |
This file contains hidden or 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 hidden or 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
Binary file not shown.
This file contains hidden or 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,3 +1 @@ | ||
| from .mock import MOCK_BASE_PATH | ||
|
|
||
| __all__ = ["MOCK_BASE_PATH"] | ||
| from .mock import * |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.