Skip to content

Run coveralls using travis for PRs #44

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

Merged
merged 2 commits into from
Feb 11, 2020

Conversation

SVilgelm
Copy link
Contributor

@SVilgelm SVilgelm commented Feb 8, 2020

Skipping the Coveralls step if action is run in a fork repo in the GitHub Actions
Using Travis to run the coveralls for PRs

Example: https://github.com/SVilgelm/flask-restx/runs/433679573?check_suite_focus=true

It's temporary solution until the codecov/codecov-action#29 is resolved

@SteadBytes
Copy link
Contributor

It doesn't seem as if this has worked - all the tests are failing because of Coveralls running.

@SVilgelm SVilgelm force-pushed the skip-coveralls-for-forks branch 4 times, most recently from edf0c47 to 09889c6 Compare February 8, 2020 21:16
@SVilgelm SVilgelm changed the title Skip coveralls step for fork repos Run coveralls for push request in main repo only Feb 8, 2020
@j5awry
Copy link
Contributor

j5awry commented Feb 9, 2020

Working now. +1

@SVilgelm SVilgelm added the ci/cd Continuous Integration and Continuous Delivery tasks label Feb 9, 2020
@SVilgelm
Copy link
Contributor Author

Let's merge it to unblock the CI? @SteadBytes @ziirish any thoughts?

@SVilgelm SVilgelm changed the title Run coveralls for push request in main repo only Run coveralls using travis for PRs Feb 11, 2020
@SVilgelm
Copy link
Contributor Author

@SteadBytes @ziirish @j5awry I added travis to run the coveralls for PRs

@SteadBytes
Copy link
Contributor

Running two separate CI builds seems overkill 😅 - but if it's a quick and temporary solution to this problem then I'm happy with it. Let's make sure this gets re-addressed soon 👍

Before merging can you please add a full explanation of this change in the commit message? 👍

@SVilgelm
Copy link
Contributor Author

sure

Sergey Vilgelm added 2 commits February 11, 2020 08:43
Due to inability to use the COVERALLS_TOKEN secret for the PRs made from forks
It's a temporary solution and will be replaced by Codecov when the tokenless upload is implemented:
    codecov/codecov-action#29
Temporary using Travis CI to run coveralls for PRs
@SVilgelm SVilgelm force-pushed the skip-coveralls-for-forks branch from 6c930c1 to 771f69a Compare February 11, 2020 14:45
@ziirish ziirish merged commit 0f53873 into python-restx:master Feb 11, 2020
@SVilgelm SVilgelm deleted the skip-coveralls-for-forks branch February 11, 2020 14:53
@SteadBytes
Copy link
Contributor

SteadBytes commented Feb 11, 2020

Or not... @ziirish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous Integration and Continuous Delivery tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants