Skip to content

Commit 16e4455

Browse files
committed
Add laminas github ci action
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 097bd06 commit 16e4455

File tree

8 files changed

+91
-1
lines changed

8 files changed

+91
-1
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/.gitattributes export-ignore
2+
/.github/ export-ignore
3+
/.gitignore export-ignore
4+
/phpcs.xml export-ignore
5+
/renovate.json export-ignore
6+
/.laminas-ci.json export-ignore
7+
/phpunit.xml.dist export-ignore
8+
/test/ export-ignore
9+
/clover.xml export-ignore
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
tags:
8+
9+
jobs:
10+
ci:
11+
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/.phpcs-cache
2+
/.phpunit.cache
3+
/.phpunit.result.cache
4+
/phpunit.xml
5+
/vendor/
6+
/xdebug_filter.php
7+
/clover.xml

.laminas-ci.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"ignore_php_platform_requirements": {
3+
"8.1": true,
4+
"8.2": true,
5+
"8.3": true,
6+
"8.4": true
7+
},
8+
"exclude": [
9+
{
10+
"name": "PHPUnit",
11+
"php": "8.1"
12+
},
13+
{
14+
"name": "PHPUnit",
15+
"php": "8.4",
16+
"dependencies": "lowest"
17+
}
18+
]
19+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# axleus-repo-template
2-
Template repo for starting all new repo's
2+
3+
This package provides MySQL support for Laminas Db.

coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
coverage_clover: clover.xml
2+
json_path: coveralls-upload.json

phpunit.xml.dist

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.4/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
cacheDirectory=".phpunit.cache"
7+
requireCoverageMetadata="true"
8+
displayDetailsOnTestsThatTriggerWarnings="true"
9+
displayDetailsOnTestsThatTriggerNotices="true"
10+
displayDetailsOnTestsThatTriggerErrors="true"
11+
displayDetailsOnTestsThatTriggerDeprecations="true"
12+
displayDetailsOnSkippedTests="true"
13+
failOnNotice="true"
14+
failOnDeprecation="true"
15+
failOnWarning="true">
16+
<testsuites>
17+
<testsuite name="unit">
18+
<directory>test/unit</directory>
19+
</testsuite>
20+
<testsuite name="integration">
21+
<directory>test/integration</directory>
22+
</testsuite>
23+
</testsuites>
24+
<coverage pathCoverage="false" disableCodeCoverageIgnore="true">
25+
</coverage>
26+
<source>
27+
<include>
28+
<directory suffix=".php">src</directory>
29+
</include>
30+
<exclude>
31+
<directory suffix=".php">test/config</directory>
32+
<directory suffix=".php">test/resource</directory>
33+
</exclude>
34+
</source>
35+
</phpunit>

renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"local>axleus/.github:renovate-config"
5+
]
6+
}

0 commit comments

Comments
 (0)