Skip to content

Commit 34c1f16

Browse files
author
Michael Vasseur
committed
First setup
1 parent 180b52c commit 34c1f16

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/unit-tests.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,54 @@ jobs:
1616
- name: Detect changes to manually verify
1717
run: diff newcodecov .github/jobs/uploadcodecov.sh
1818

19+
#.unit_job:
20+
# extends: [.normal_job,.cached_vendor]
21+
# stage: unit
22+
# # Disabled for now as it drastically speeds up running unit tests and we don't use it yet
23+
# # before_script:
24+
# # - apt-get update -yqq
25+
# # - apt-get install php-xdebug -yqq
26+
# variables:
27+
# MYSQL_ROOT_PASSWORD: password
28+
# MARIADB_PORT_3306_TCP_ADDR: sqlserver
29+
# script:
30+
# - set -eux
31+
# - if [ -z ${PHPVERSION+x} ]; then export PHPVERSION=8.1; fi
32+
# - if [ -z ${TEST+x} ]; then export TEST="UNIT"; fi
33+
# - if [ "$TEST" = "UNIT" ] && [ "$CRAWL_SHADOW_MODE" != "0" ]; then exit 0; fi
34+
# - if [ "$TEST" = "E2E" ] && [ "$CRAWL_SHADOW_MODE" != "0" ] && [ "$CI_COMMIT_BRANCH" != "main" ]; then exit 0; fi
35+
# - export CRAWL_SHADOW_MODE
36+
# - ./gitlab/unit-tests.sh $PHPVERSION $TEST
37+
# artifacts:
38+
# when: always
39+
# paths:
40+
# - unit-tests.xml
41+
# - coverage-html
42+
# - deprecation.txt
43+
# - duration
44+
# - gitlabartifacts
45+
# reports:
46+
# junit:
47+
# - unit-tests.xml
48+
#
49+
#run unit tests:
50+
# only:
51+
# - main
52+
# - /^[0-9].[0-9]$/
53+
# extends: [.mariadb_job,.phpsupported_job,.unit_job]
54+
#
55+
#run unit tests (PR):
56+
# except:
57+
# - main
58+
# - /^[0-9].[0-9]$/
59+
# extends: [.mariadb_job,.phpsupported_job_pr,.unit_job]
60+
#
61+
#run unit tests (MySQL):
62+
# only:
63+
# - main
64+
# - /^[0-9].[0-9]$/
65+
# extends: [.mysql_job,.unit_job]
66+
# parallel:
67+
# matrix:
68+
# - TEST: ["E2E","Unit"]
69+
# CRAWL_SHADOW_MODE: ["0"]

0 commit comments

Comments
 (0)