Skip to content

Commit

Permalink
Fix CI and code compilation
Browse files Browse the repository at this point in the history
Fix tests

Check Ch

healthcheck

remove check
  • Loading branch information
Jesús Botella committed Sep 19, 2024
1 parent a4815c8 commit 8a4acf5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,25 @@ jobs:

name: Test clickhouse_fdw
runs-on: ubuntu-latest
container: docker:latest

services:
clickhouse:
image: clickhouse/clickhouse-server:latest
ports:
- 8123:8123
- 9000:9000
options: >-
--health-cmd "clickhouse-client --host localhost --query 'SELECT 1'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Pull `clickhouse`
run: docker-compose pull clickhouse
- name: Run `clickhouse`
run: docker-compose up -d

- name: Build an image with the source code
run: docker-compose -f docker-compose-extra.yml build --build-arg CHECK_CODE=${{ matrix.check_code }} --build-arg PG_VERSION=${{ matrix.pg }} tests

- name: Run the tests
run: docker-compose -f docker-compose-extra.yml run tests
- name: Stop clickhouse
run: docker-compose stop clickhouse
1 change: 1 addition & 0 deletions src/custom_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#define F_TIMESTAMP_ZONE 2069
#define F_TIMESTAMPTZ_ZONE 1159
#define F_TIMESTAMPTZ_PART 1171
#define F_TO_TIMESTAMP 1778
#define F_ARRAY_POSITION 3277
#define F_STRPOS 868
#define F_BTRIM 884
Expand Down

0 comments on commit 8a4acf5

Please sign in to comment.