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

Add step to file issues if tests fails after merging to main #776

Conversation

marcoesters
Copy link
Contributor

@marcoesters marcoesters commented Apr 22, 2024

Description

Adding integration tests for AzureSignTool (#771) requires access to repository secrets. These are not available when submitting a PR from a fork. Tests must then be executed after merging to main. This risks that errors are not caught.

To increase visibility of these problems, create an issue when tests fail after being merged into main.

Closes #775.

Token has been added to the repo: conda/infrastructure#920

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 22, 2024
@marcoesters marcoesters marked this pull request as ready for review April 22, 2024 20:26
@marcoesters marcoesters requested a review from a team as a code owner April 22, 2024 20:26
@@ -145,6 +145,16 @@ jobs:
run: |
python scripts/make_docs.py
git diff --exit-code
- name: Report failures
if: always() && github.event_name == 'push'
Copy link
Contributor

Choose a reason for hiding this comment

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

This should only run on main, in case we have push events to a branch for a PR. But we are only allowing this event on main and tags, so we are fine.

@marcoesters marcoesters merged commit 7e40c30 into conda:main Apr 23, 2024
15 checks passed
@marcoesters marcoesters deleted the 775-automatically-create-issue-on-test-failure-after-merging-to-main branch April 23, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Automatically create issue on test failure after merging to main
3 participants