Repository navigation
58 lines (54 loc) · 1.63 KB
/
Copy pathci-oracle.yml
File metadata and controls
58 lines (54 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
name: ci-oracle
permissions:
contents: read
on:
pull_request: &ignore-paths
paths-ignore:
- ".dockerignore"
- ".editorconfig"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlab-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "eslint.config.js"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
jobs:
tests:
name: Oracle tests with coverage
uses: yiisoft/yii2-actions/.github/workflows/database.yml@master
with:
composer-root-version: 2.0.x-dev
concurrency-group: oracle-${{ github.ref }}
coverage-driver: xdebug
database-env: '{"ORACLE_PASSWORD":"oracle"}'
database-health-cmd: "healthcheck.sh"
database-health-retries: 10
database-image: gvenzl/oracle-free
database-port: "1521"
database-type: oracle
database-versions: '["slim-faststart"]'
extensions: curl, intl, oci8, pdo, pdo_oci
hook: docker exec -i database sqlplus -s system/oracle@//localhost/FREE < tests/data/oci/optimize_for_tests.sql
os: '["ubuntu-22.04"]'
ignore-platform-reqs-php-version: "[8.6]"
php-version: "[7.4, 8.6]"
phpunit-group: oci
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}