From b25fb4cd45b2b645a7c15d40034e260ff28bf6ca Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:14:37 +0200 Subject: [PATCH 1/7] Update version --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 38440a8..33b65f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devoteamgcloud/dataform-assertions", - "version": "1.2.2", + "version": "1.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devoteamgcloud/dataform-assertions", - "version": "1.2.2", + "version": "1.2.3", "dependencies": { "@dataform/core": "2.9.0" } From 86af41f55e3682324c5b2aecc62bd8d8836dc86e Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:15:34 +0200 Subject: [PATCH 2/7] test --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ce5afc1..46f2cca 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,6 @@ const commonAssertionsResult = commonAssertions({ You can find a more complete example here: [definitions/example.js](./definitions/example.js). - ## Available assertions This package includes the following types of assertions: From 4d5d8741266aae480811bd09657c429588192473 Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:17:25 +0200 Subject: [PATCH 3/7] Remove all files for precommit check --- .github/workflows/pre-commit-check.yaml | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-check.yaml b/.github/workflows/pre-commit-check.yaml index 16020ba..94daab7 100644 --- a/.github/workflows/pre-commit-check.yaml +++ b/.github/workflows/pre-commit-check.yaml @@ -15,4 +15,4 @@ jobs: with: python-version: '3.10' - run: pip install pre-commit - - run: pre-commit run --all-files + - run: pre-commit run diff --git a/README.md b/README.md index 46f2cca..ce5afc1 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ const commonAssertionsResult = commonAssertions({ You can find a more complete example here: [definitions/example.js](./definitions/example.js). + ## Available assertions This package includes the following types of assertions: From a471ee28ea2728bdf11bb3b737304457a0202297 Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:18:38 +0200 Subject: [PATCH 4/7] test --- definitions/first_table.sqlx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/definitions/first_table.sqlx b/definitions/first_table.sqlx index 295a510..9f90cd5 100644 --- a/definitions/first_table.sqlx +++ b/definitions/first_table.sqlx @@ -9,7 +9,6 @@ UNION ALL SELECT 1 AS id, CURRENT_DATE() AS updated_date -UNION ALL -SELECT +UNION ALL SELECT 2 AS id, CURRENT_DATE() AS updated_date From ae66416e415ef27bc4c4c0830aa179dee7ba4019 Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:19:37 +0200 Subject: [PATCH 5/7] test --- .github/workflows/pre-commit-check.yaml | 2 +- definitions/first_table.sqlx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit-check.yaml b/.github/workflows/pre-commit-check.yaml index 94daab7..16020ba 100644 --- a/.github/workflows/pre-commit-check.yaml +++ b/.github/workflows/pre-commit-check.yaml @@ -15,4 +15,4 @@ jobs: with: python-version: '3.10' - run: pip install pre-commit - - run: pre-commit run + - run: pre-commit run --all-files diff --git a/definitions/first_table.sqlx b/definitions/first_table.sqlx index 9f90cd5..295a510 100644 --- a/definitions/first_table.sqlx +++ b/definitions/first_table.sqlx @@ -9,6 +9,7 @@ UNION ALL SELECT 1 AS id, CURRENT_DATE() AS updated_date -UNION ALL SELECT +UNION ALL +SELECT 2 AS id, CURRENT_DATE() AS updated_date From 561dcf02ca32d2bf1f93820c73b87ab7977a4701 Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:20:01 +0200 Subject: [PATCH 6/7] test --- definitions/first_table.sqlx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/definitions/first_table.sqlx b/definitions/first_table.sqlx index 295a510..5ea4528 100644 --- a/definitions/first_table.sqlx +++ b/definitions/first_table.sqlx @@ -7,8 +7,7 @@ SELECT CURRENT_DATE() AS updated_date UNION ALL SELECT - 1 AS id, - CURRENT_DATE() AS updated_date + 1 AS id, CURRENT_DATE() AS updated_date UNION ALL SELECT 2 AS id, From 00d1ab545e5e497c709970b1a757b21d69b8c815 Mon Sep 17 00:00:00 2001 From: Hugo Rialan Date: Thu, 13 Jun 2024 18:21:42 +0200 Subject: [PATCH 7/7] Adding CICD checks --- definitions/first_table.sqlx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/definitions/first_table.sqlx b/definitions/first_table.sqlx index 5ea4528..295a510 100644 --- a/definitions/first_table.sqlx +++ b/definitions/first_table.sqlx @@ -7,7 +7,8 @@ SELECT CURRENT_DATE() AS updated_date UNION ALL SELECT - 1 AS id, CURRENT_DATE() AS updated_date + 1 AS id, + CURRENT_DATE() AS updated_date UNION ALL SELECT 2 AS id,