From 33d0f817e6b1c3172cc9b6faaf5c7d9bce2a0522 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Fri, 24 Mar 2023 13:02:55 +0200 Subject: [PATCH 01/10] test --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..19a5ce63 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,12 @@ +name: test +on: + pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: echo $GITHUB_REF + - run: echo $GITHUB_REPOSITORY + # - run: TESTOMATIO=n7seb4fd0zg8 echo $GITHUB_REPOSITORY From 91994fde8b438ee857d9a7d548022a306b1e9a1e Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Fri, 24 Mar 2023 13:23:06 +0200 Subject: [PATCH 02/10] test --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19a5ce63..2a44f9fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,12 +1,12 @@ name: test -on: - pull_request +on: pull_request jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - # - run: TESTOMATIO=n7seb4fd0zg8 echo $GITHUB_REPOSITORY + - run: echo ${{ github.workflow }} + - run: TESTOMATIO=n7seb4fd0zg8 GH_PAT=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 GITHUB_REF=refs/pull/36/merge GITHUB_REPOSITORY=testomatio/examples npm run test animal-sort/ From 33f6a931930c04a523d3602b5ab72eae2502dc68 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 09:38:05 +0300 Subject: [PATCH 03/10] test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a44f9fb..7ce005a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,4 +9,4 @@ jobs: - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} - - run: TESTOMATIO=n7seb4fd0zg8 GH_PAT=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 GITHUB_REF=refs/pull/36/merge GITHUB_REPOSITORY=testomatio/examples npm run test animal-sort/ + - run: TESTOMATIO=yapff28430mu TESTOMATIO_URL=https://beta.testomat.io GH_PAT=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 GITHUB_REF=refs/pull/36/merge GITHUB_REPOSITORY=testomatio/examples npm run test animal-sort/ From 8895c8fbfb9d02bc8ad06ff6f8996f7de420c2ac Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:05:38 +0300 Subject: [PATCH 04/10] test gh --- jest/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jest/package.json b/jest/package.json index 9b5bdefe..f59524d6 100644 --- a/jest/package.json +++ b/jest/package.json @@ -6,8 +6,8 @@ "author": "Koushik Mohan ", "license": "MIT", "dependencies": { - "@testomatio/reporter": "^0.6.5", - "check-tests": "^0.7.3", + "@testomatio/reporter": "github:testomatio/reporter", + "check-tests": "^0.8.12", "jest-junit": "^13.2.0" }, "devDependencies": { From f02dd0b2a5894b3a0347302d730dbdfbcb901b71 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:06:44 +0300 Subject: [PATCH 05/10] cd jest --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ce005a6..ac3f7d10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,4 +9,4 @@ jobs: - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} - - run: TESTOMATIO=yapff28430mu TESTOMATIO_URL=https://beta.testomat.io GH_PAT=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 GITHUB_REF=refs/pull/36/merge GITHUB_REPOSITORY=testomatio/examples npm run test animal-sort/ + - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ From d24db1d7ba3f54eea1bb01f6e61d8f9eb21fdbb6 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:08:01 +0300 Subject: [PATCH 06/10] npm i --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac3f7d10..dbc7856e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,4 +9,5 @@ jobs: - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} + - run: cd jest && npm i - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ From e94720d42fd8bf34ee88f427bbc67d0239e7ea5b Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:10:58 +0300 Subject: [PATCH 07/10] pass github token --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbc7856e..3087fb32 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,4 +10,4 @@ jobs: - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} - run: cd jest && npm i - - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ + - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=$GITHUB_TOKEN TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ From d736929548abaa27212cf402d1bb9ec7209103b9 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:25:32 +0300 Subject: [PATCH 08/10] test --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3087fb32..02fbdc2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,5 +9,6 @@ jobs: - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} + - run: echo ${{ github.token }} - run: cd jest && npm i - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=$GITHUB_TOKEN TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ From 2c5a40548919429a60069b60a19ead4c26dd9881 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:26:06 +0300 Subject: [PATCH 09/10] test --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02fbdc2e..c9aefc86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,5 +10,6 @@ jobs: - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} - run: echo ${{ github.token }} + - run: echo $GITHUB_TOKEN - run: cd jest && npm i - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=$GITHUB_TOKEN TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ From 5b306c5948364d542d80a6a1994386246b351804 Mon Sep 17 00:00:00 2001 From: Oleksandr Pelykh Date: Sun, 16 Apr 2023 10:27:34 +0300 Subject: [PATCH 10/10] pass token --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c9aefc86..4c96265a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,5 @@ jobs: - run: echo $GITHUB_REF - run: echo $GITHUB_REPOSITORY - run: echo ${{ github.workflow }} - - run: echo ${{ github.token }} - - run: echo $GITHUB_TOKEN - run: cd jest && npm i - - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=$GITHUB_TOKEN TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ + - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=${{ github.token }} TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/