Skip to content

Commit

Permalink
Merge pull request #17 from fykosak/dev-mapper
Browse files Browse the repository at this point in the history
Dev mapper
  • Loading branch information
cevro authored Nov 2, 2024
2 parents 32dc410 + 12cceb0 commit 1124585
Show file tree
Hide file tree
Showing 28 changed files with 277 additions and 273 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/php-psr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.1']
php: [ '8.1' ]
steps:
- uses: actions/checkout@v2
name: Checkout
Expand All @@ -28,7 +28,7 @@ jobs:
name: Test
- if: failure()
name: Failure output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: output
name: output ${{ matrix.php }} with ${{ matrix.database }}
path: tests/**/*.actual
2 changes: 1 addition & 1 deletion .github/workflows/php-stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.4' , '8.0' , '8.1' ]
php: [ '8.1' ]
steps:
- uses: actions/checkout@v2
name: Checkout
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '8.1']
php: [ '8.1' ]
database: [ 'mysql' ]
steps:
# MariaDB container has to be started in advance to initialize itself before using it.
Expand Down Expand Up @@ -37,13 +37,13 @@ jobs:
- run: composer run-script testCoverage
name: Test
- name: Archive code coverage results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
name: code-coverage-report ${{ matrix.php }} with ${{ matrix.database }}
path: coverage.html
- if: failure()
name: Failure output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: output
name: output ${{ matrix.php }} with ${{ matrix.database }}
path: tests/**/*.actual
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
/tests/config.local.neon
/tests/temp/*
!/tests/temp/.gitignore
tests/**/*.actual
tests/**/*.expected
coverage.html
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"license": "GPL-3.0-or-later",
"require": {
"php": ">=8.1",
"nette/di": "^3.0",
"nette/database": "^3.1",
"nette/di": "v3.*",
"nette/database": "v3.*",
"ext-pdo": "*",
"ext-gettext": "*"
},
Expand Down Expand Up @@ -50,7 +50,7 @@
"vendor/bin/tester tests -p php --coverage coverage.html --coverage-src src/ -s -c tests/php.ini -j 1"
],
"testPHPStan": [
"vendor/bin/phpstan analyse --level 6 src/"
"vendor/bin/phpstan analyse --level 6 src/ tests/"
]
}
}
Loading

0 comments on commit 1124585

Please sign in to comment.