Skip to content

Implement Github workflows for CI - #31

Open
derek750 wants to merge 4 commits into
mainfrom
ci
Open

derek750 wants to merge 4 commits into
mainfrom
ci

Conversation

@derek750

Copy link
Copy Markdown
Collaborator

Resolves #30

Tests:

  • backend C operations
  • python package imports and linkage

Comment thread .github/workflows/ci.yml
"$RUNNER_TEMP/package-test/bin/python" -m pip install dist/*.whl
- name: Run installed-package smoke tests
working-directory: ${{ runner.temp }}
run: '"$RUNNER_TEMP/package-test/bin/python" -I "$GITHUB_WORKSPACE/src/tests/test_package.py" -v'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is for the CI to run all the py tests. We should install the declared test dependencies and add a pytest step for all the suites, and we can keep the clean-environment smoke checks. This ci never runs the tests in src/tests/test_forward.py, so if someone accidentally breaks something that would break those tests, then we do not catch it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'll update it, its because I created this before that was added

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, thank you!

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.

CI for commits and PRs

2 participants