From 78711e5aabf1cd3ef7bf2cca0c355f046d7bc477 Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 09:06:52 +0300 Subject: [PATCH 1/6] coverage test --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 42c52d0..c45f97a 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,4 @@ You should write in total four JavaScript functions, it is recommended to do it The instructions are specified in TODO comments. Do not forget to provide sufficient (automatic) tests for your code! -Use you preferred way (node , ecommerce.test.js) - -COVERAGE TEST \ No newline at end of file +Use you preferred way (node , ecommerce.test.js) \ No newline at end of file From b51708e589b9cc85436ea748fe314c3fc687e83b Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 09:08:05 +0300 Subject: [PATCH 2/6] test --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c45f97a..42c52d0 100644 --- a/README.md +++ b/README.md @@ -39,4 +39,6 @@ You should write in total four JavaScript functions, it is recommended to do it The instructions are specified in TODO comments. Do not forget to provide sufficient (automatic) tests for your code! -Use you preferred way (node , ecommerce.test.js) \ No newline at end of file +Use you preferred way (node , ecommerce.test.js) + +COVERAGE TEST \ No newline at end of file From ecdc9ea5ba11c6e27c68c55b358f8b283f18c243 Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 09:10:07 +0300 Subject: [PATCH 3/6] ignore branches --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6689c72..07d6721 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,11 @@ on: push: branches-ignore: - 'hotfix/**' + - 'Hotfix/**' pull_request: branches-ignore: - 'hotfix/**' + - 'Hotfix/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 534e377e97c8b40fb14f70916b59499794356fe2 Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 09:29:33 +0300 Subject: [PATCH 4/6] test --- .github/workflows/main.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07d6721..0dd1af3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,14 +5,6 @@ name: CI # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the main branch - push: - branches-ignore: - - 'hotfix/**' - - 'Hotfix/**' - pull_request: - branches-ignore: - - 'hotfix/**' - - 'Hotfix/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -25,6 +17,7 @@ jobs: runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job + if: github.ref != 'refs/heads/hotfix/**' steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 From f257522de0467492380f3e2f3b9c1133f68d8713 Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 10:16:02 +0300 Subject: [PATCH 5/6] git yaml test --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0dd1af3..e4b55d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job - if: github.ref != 'refs/heads/hotfix/**' + if: ${{ github.ref != 'refs/heads/hotfix/**' }} steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 From aebb364aa1839738a9732e31cfcbaaa344e40587 Mon Sep 17 00:00:00 2001 From: markjuno Date: Sun, 10 Apr 2022 10:18:45 +0300 Subject: [PATCH 6/6] fix yaml --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4b55d8..2533920 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,10 @@ name: CI # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the main branch - + push: + branches: [ main ] + pull_request: + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: