Skip to content

Conversation

@carlwilson
Copy link
Member

No description provided.

@carlwilson carlwilson requested review from Copilot and dockmd April 2, 2025 07:19
Copy link

Copilot AI left a 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.

run: |
python -m pip install setuptools_git_versioning
python -m setuptools_git_versioning
- name: Clone the e-ark-corpus git repo
Copy link

Copilot AI Apr 2, 2025

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.

Copilot uses AI. Check for mistakes.
@carlwilson carlwilson requested a review from Copilot April 2, 2025 07:26
Copy link

Copilot AI left a 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
Copy link

Copilot AI Apr 2, 2025

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.

Suggested change
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

Copilot uses AI. Check for mistakes.
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants