Skip to content

Commit 9c550bb

Browse files
committed
refactor: simplify composer action
1 parent e54db0d commit 9c550bb

6 files changed

Lines changed: 9 additions & 360 deletions

File tree

.github/workflows/job-arrow-extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
run: composer install --no-interaction --no-progress
9292

9393
- name: Run Parquet Integration Tests with Arrow
94-
run: composer test:lib:parquet
94+
run: composer test -- --testsuite=lib-parquet-integration
9595

9696
- name: Upload to Codecov
9797
if: ${{ !cancelled() && matrix.php == '8.3' && matrix.os == 'ubuntu-latest' }}

.github/workflows/job-extension-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ jobs:
3838
cache-key-suffix: "-extensions"
3939

4040
- name: "Test Brotli"
41-
run: "composer test:lib:parquet -- --group brotli-extension"
41+
run: "composer test -- --group brotli-extension"
4242

4343
- name: "Test LZ4"
44-
run: "composer test:lib:parquet -- --group lz4-extension"
44+
run: "composer test -- --group lz4-extension"
4545

4646
- name: "Test ZSTD"
47-
run: "composer test:lib:parquet -- --group zstd-extension"
47+
run: "composer test -- --group zstd-extension"
4848

4949
- name: "Test Snappy"
50-
run: "composer test:lib:parquet -- --group snappy-extension"
50+
run: "composer test -- --group snappy-extension"
5151

5252
- name: Upload to Codecov
5353
if: ${{ !cancelled() && matrix.php-version == '8.3' }}

.github/workflows/job-tests.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -116,32 +116,12 @@ jobs:
116116
env:
117117
AZURITE_ACCOUNTS: flowphpaccount01:flowphpkey01
118118

119-
- name: "Test - Libraries"
120-
run: "composer test:libraries"
121-
env:
122-
FLOW_PARQUET_TESTS_DEBUG: "0"
123-
PGSQL_DATABASE_URL: pgsql://postgres:postgres@127.0.0.1:${{ job.services.postgres.ports[5432] }}/postgres?serverVersion=11&charset=utf8
124-
MYSQL_DATABASE_URL: mysql://mysql:mysql@127.0.0.1:${{ job.services.mysql.ports[3306] }}/mysql
125-
126119
- name: "Test - ETL Core"
127-
run: "composer test:core"
128-
129-
- name: "Test - CLI"
130-
run: "composer test:cli"
131-
env:
132-
PGSQL_DATABASE_URL: pgsql://postgres:postgres@127.0.0.1:${{ job.services.postgres.ports[5432] }}/postgres?serverVersion=11&charset=utf8
133-
134-
- name: "Test - Adapters"
135-
run: "composer test:adapters"
136-
env:
120+
timeout-minutes: 10
121+
run: "composer -- --coverage-clover=./var/phpunit/coverage/clover/coverage.xml"
137122
PGSQL_DATABASE_URL: pgsql://postgres:postgres@127.0.0.1:${{ job.services.postgres.ports[5432] }}/postgres?serverVersion=11&charset=utf8
138123
MYSQL_DATABASE_URL: mysql://mysql:mysql@127.0.0.1:${{ job.services.mysql.ports[3306] }}/mysql
139124
SQLITE_DATABASE_URL: "sqlite:///:memory:"
140-
141-
- name: "Test - Bridges"
142-
run: "composer test:bridges"
143-
env:
144-
PGSQL_DATABASE_URL: pgsql://postgres:postgres@127.0.0.1:${{ job.services.postgres.ports[5432] }}/postgres?serverVersion=11&charset=utf8
145125
AZURITE_HOST: "localhost"
146126
AZURITE_BLOB_PORT: "10000"
147127
AZURITE_ACCOUNT_NAME: "flowphpaccount01"
@@ -153,6 +133,7 @@ jobs:
153133
OTEL_RECEIVER_HTTP_ENDPOINT: "http://localhost:4318"
154134
OTEL_RECEIVER_GRPC_ENDPOINT: "localhost:4317"
155135
OTEL_COLLECTOR_METRICS_ENDPOINT: "http://localhost:8888/metrics"
136+
FLOW_PARQUET_TESTS_DEBUG: "0"
156137

157138
- name: Upload to Codecov
158139
uses: ./.github/actions/codecov-report

.github/workflows/job-windows-tests.yml

Lines changed: 0 additions & 103 deletions
This file was deleted.

.github/workflows/test-suite.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,5 @@ jobs:
5050
uses: ./.github/workflows/job-arrow-extension.yml
5151
secrets: inherit
5252

53-
windows-tests:
54-
uses: ./.github/workflows/job-windows-tests.yml
55-
5653
mutation-tests:
5754
uses: ./.github/workflows/job-mutation-tests.yml

0 commit comments

Comments
 (0)