-
Notifications
You must be signed in to change notification settings - Fork 36
Make autocomplete_metadata.py emit schema-compliant molecule metadata and improve CI tests
#506
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
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8d0a6f4
Initial plan
Copilot b7091df
Fix autocomplete metadata schema compliance
Copilot 4b74c43
Fixed several sanitizing regex'
mdondrup 492daff
Linting with ruff
mdondrup 7cb880f
formatted the test
mdondrup e54163b
Isolated developer scripts tests into separate tox/CI label
mdondrup 41bd1d5
fix: leave coverage only for unit-tests; remove cov from toml (regist…
comcon1 00be079
fix(tests): remove network label
comcon1 eb7cfbc
fix(CI): remove coverage report from integration tests
comcon1 cb14147
feat(CI): separate tests into two different folders to trigger workflows
comcon1 66b8e81
fix: linting..
comcon1 d11bdc6
fix(CI): trigger unit tests only on changing package-related files
comcon1 e8bae11
fix(CI): adding CI tests-develop on changing content of develop folder
comcon1 b5a76fb
fix(CI): revert minimal list for standard tox env
comcon1 f3edcd2
Update .github/workflows/tests-min.yml
comcon1 e9d904b
Update .github/workflows/tests-develop.yml
comcon1 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,53 @@ | ||
| name: Testing Developmental Scripts | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - "developer/**" | ||
| - "tests/develop/**" | ||
| - "tox.ini" | ||
| - "pyproject.toml" | ||
| - "MANIFEST.in" | ||
| pull_request_target: | ||
| branches: [main] | ||
| paths: | ||
| - "developer/**" | ||
| - "tests/develop/**" | ||
| - "tox.ini" | ||
| - "pyproject.toml" | ||
| - "MANIFEST.in" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| tests: | ||
| if: github.repository == 'NMRLipids/FAIRMD_lipids' | ||
| runs-on: ${{ matrix.os }} | ||
| name: ${{ matrix.os }} / Python ${{ matrix.python-version }} | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - os: ubuntu-24.04 | ||
| python-version: "3.10" | ||
| - os: ubuntu-24.04 | ||
| python-version: "3.13" | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | ||
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
|
|
||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| check-latest: true | ||
|
|
||
| - run: python -m pip install tox | ||
|
|
||
| - name: run Python tests | ||
| run: tox -e tests-develop | ||
|
|
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
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
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
Oops, something went wrong.
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.