Skip to content

Commit

Permalink
Update phpunit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Aug 11, 2021
1 parent 0ebeb87 commit 5bca873
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ github.base_ref }}

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
submodules: true

- name: Checkout app
uses: actions/checkout@v2
Expand Down Expand Up @@ -84,7 +78,7 @@ jobs:

services:
mysql:
image: mariadb
image: mariadb:10.5
ports:
- 4444:3306/tcp
env:
Expand All @@ -97,13 +91,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ github.base_ref }}

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
submodules: true

- name: Checkout app
uses: actions/checkout@v2
Expand Down Expand Up @@ -168,13 +156,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ github.base_ref }}

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
submodules: true

- name: Checkout app
uses: actions/checkout@v2
Expand Down

0 comments on commit 5bca873

Please sign in to comment.