Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Notify Push
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
k8s
Notify Push
Commits
9f99744f
Commit
9f99744f
authored
Nov 6, 2023
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
workflow fixes
Signed-off-by:
Robin Appelman
<
robin@icewind.nl
>
parent
cb65248d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/phpunit-mysql.yml
+6
-8
6 additions, 8 deletions
.github/workflows/phpunit-mysql.yml
.github/workflows/psalm-matrix.yml
+3
-2
3 additions, 2 deletions
.github/workflows/psalm-matrix.yml
with
9 additions
and
10 deletions
.github/workflows/phpunit-mysql.yml
+
6
−
8
View file @
9f99744f
...
...
@@ -18,14 +18,15 @@ jobs:
matrix
:
runs-on
:
ubuntu-latest
outputs
:
php-versions
:
${{ steps.versions.outputs.php-versions }}
server-max
:
${{ steps.versions.outputs.branches-max-list }}
matrix
:
${{ steps.versions.outputs.matrix }}
steps
:
-
name
:
Checkout app
uses
:
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
# v4.1.1
-
name
:
Get version matrix
id
:
versions
uses
:
icewind1991/nextcloud-version-matrix@c2bf575a3516752db5ce2915499d3f694885e2c7
# v1.0.0
uses
:
icewind1991/nextcloud-version-matrix@8238a96541a763c633c093b203f3c8a33fcee037
# v1.0.0
with
:
matrix
:
'
{"mysql-versions":
["8.1"]}'
changes
:
runs-on
:
ubuntu-latest
...
...
@@ -58,10 +59,7 @@ jobs:
if
:
needs.changes.outputs.src != 'false'
strategy
:
matrix
:
php-versions
:
${{fromJson(needs.matrix.outputs.php-versions)}}
server-versions
:
${{ fromJson(needs.matrix.outputs.server-max) }}
mysql-versions
:
[
'
8.1'
]
matrix
:
${{ fromJson(needs.matrix.outputs.matrix) }}
name
:
MySQL ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
...
...
@@ -118,7 +116,7 @@ jobs:
# Only run if phpunit config file exists
if
:
steps.check_composer.outputs.files_exists == 'true'
working-directory
:
apps/${{ env.APP_NAME }}
run
:
composer i
run
:
rm composer.lock &&
composer i
-
name
:
Set up Nextcloud
env
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/psalm-matrix.yml
+
3
−
2
View file @
9f99744f
...
...
@@ -42,14 +42,15 @@ jobs:
php-version
:
${{ matrix.php-versions }}
coverage
:
none
ini-file
:
development
extensions
:
redis
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Install dependencies
run
:
composer i
run
:
rm composer.lock &&
composer i
-
name
:
Install dependencies
run
:
composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} --ignore-platform-reqs --with-dependencies
run
:
rm composer.lock &&
composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} --ignore-platform-reqs --with-dependencies
-
name
:
Run coding standards check
run
:
composer run psalm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment