Skip to content

Remove travis-CI jobs which were moved to GithubAction#2591

Merged
TomasVotruba merged 3 commits intorectorphp:masterfrom
staabm:patch-2
Jan 7, 2020
Merged

Remove travis-CI jobs which were moved to GithubAction#2591
TomasVotruba merged 3 commits intorectorphp:masterfrom
staabm:patch-2

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Jan 6, 2020

You should configure the new checks to be required in case those were required before (in github branch protection).

In case it is essentiell that the „compile phar“ travis job only runs after all (including those beeing removed with this PR) previous jobs went green/successfull we should think about the job design.. (I guess travis ci does not know about status of single github actions and vice versa)

Comment thread .github/workflows/push.yml Outdated

on:
- push
- pull_request
Copy link
Copy Markdown
Contributor Author

@staabm staabm Jan 6, 2020

Choose a reason for hiding this comment

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

This was the missing piece why the PR was not build...

@staabm
Copy link
Copy Markdown
Contributor Author

staabm commented Jan 6, 2020

You can easily see that all github actions are already finished, while travis just started a single job at that time

(The job failed because master is failing because of invalid cs before this PR already)

Comment thread .github/workflows/push.yml Outdated
Comment on lines +3 to +5
on:
- push
- pull_request
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be :

on:
  pull_request:
  push:
    branches:
      - master

if you don't want the CI to run twice on PR that comes from another branch in the repo.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thx for the suggestion. Adjusted

@TomasVotruba
Copy link
Copy Markdown
Member

Thank you 👍

@TomasVotruba TomasVotruba merged commit 495e4f8 into rectorphp:master Jan 7, 2020
@staabm staabm deleted the patch-2 branch January 7, 2020 06:52
TomasVotruba added a commit that referenced this pull request Jun 30, 2022
rectorphp/rector-src@945fcc8 [DeadCode] Handle always terminated Switch_ on RemoveUnreachableStatementRector (#2591)
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