-
Notifications
You must be signed in to change notification settings - Fork 3
Added corpus pytests to QA workflow. #138
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
base: integration
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the QA workflow to run corpus pytests by adding steps to clone an external repository, install its dependencies, and run its tests.
- Removed an installation command from the dependencies step.
- Added three new steps for cloning the corpus repository, installing its tests, and executing the tests.
.github/workflows/python-test.yml
Outdated
| run: | | ||
| python -m pip install setuptools_git_versioning | ||
| python -m setuptools_git_versioning | ||
| - name: Clone the e-ark-corpus git repo |
Copilot
AI
Apr 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing directories in one step (using 'cd') will not persist into later steps. Consider using the 'working-directory' attribute in subsequent steps or combine these steps into one so that the intended directory context is maintained.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR integrates corpus pytests into the QA workflow by modifying the CI pipeline to run tests using an external test corpus.
- Removed an installation command for testing dependencies.
- Added a new job that clones and runs tests from the external EARK IP test corpus repository.
Comments suppressed due to low confidence (1)
.github/workflows/python-test.yml:35
- Verify that the removal of 'pip install ".[testing]"' is intentional, as it might affect the setup of testing dependencies in the workflow.
- pip install ".[testing]"
| python -m setuptools_git_versioning | ||
| - name: Install and run the EARK IP test corpus tests | ||
| run: | | ||
| git clone https://github.com/DILCISBoard/eark-ip-test-corpus.git |
Copilot
AI
Apr 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider specifying a commit hash or tag when cloning the test corpus repository to ensure consistent and reproducible test results.
| git clone https://github.com/DILCISBoard/eark-ip-test-corpus.git | |
| git clone --branch <commit-hash-or-tag> https://github.com/DILCISBoard/eark-ip-test-corpus.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not known necessarily and I think we always want the latest version. Please confirm @dockmd
No description provided.