Skip to content

Commit

Permalink
When running tests on master, git checkout -b master will obvious…
Browse files Browse the repository at this point in the history
…ly fail (expected)
  • Loading branch information
Ocramius committed Jul 11, 2020
1 parent d904de5 commit 80f88b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: "Switch active branch to master"
run: |
git branch -D master || true
git checkout -b master
git checkout -b master || true
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: "Switch active branch to master"
run: |
git branch -D master || true
git checkout -b master
git checkout -b master || true
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: "Switch active branch to master"
run: |
git branch -D master || true
git checkout -b master
git checkout -b master || true
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: "Switch active branch to master"
run: |
git branch -D master || true
git checkout -b master
git checkout -b master || true
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand Down

0 comments on commit 80f88b3

Please sign in to comment.