Skip to content
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

ci: Add test workflow #20

Merged
merged 1 commit into from
Jul 29, 2024
Merged

ci: Add test workflow #20

merged 1 commit into from
Jul 29, 2024

Conversation

lu-pl
Copy link
Contributor

@lu-pl lu-pl commented Jul 26, 2024

Add a test workflow that runs pytest, pytest-cov and the coveralls action.

closes: #18

@lu-pl
Copy link
Contributor Author

lu-pl commented Jul 26, 2024

Note: Does this need to run on Ubuntu? Probably there is a more lightweight option.

.github/workflows/tests.yaml Outdated Show resolved Hide resolved
run: |
poetry run pytest --cov rdfproxy/ --cov-report xml

- name: Upload coverage data to coveralls
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess we need an account with this service? Otherwise the workflow will likely fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is an acdh-oeaw account and the action should automate almost everything, the only thing required is the GITHUB_TOKEN, see the action's inputs.

@b1rger
Copy link
Collaborator

b1rger commented Jul 27, 2024

Note: Does this need to run on Ubuntu? Probably there is a more lightweight option.

https://github.com/actions/runner-images#available-images

Add a test workflow that runs pytest, pytest-cov and the coveralls action.

closes: #18
@lu-pl lu-pl force-pushed the lupl/test_workflow branch from 751dd00 to e5b4085 Compare July 27, 2024 10:57
@lu-pl lu-pl requested a review from b1rger July 29, 2024 06:35
@lu-pl lu-pl merged commit 6210b81 into main Jul 29, 2024
7 checks passed
@lu-pl lu-pl deleted the lupl/test_workflow branch October 18, 2024 04:31
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.

Set up testing workflow
2 participants