From 41075d4844612e9d0f5e2eca9a9833bab21c291a Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Wed, 9 Apr 2025 15:52:40 +0200 Subject: [PATCH 01/22] Create check-tests.yml --- .github/workflows/check-tests.yml | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/check-tests.yml diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml new file mode 100644 index 0000000..0441960 --- /dev/null +++ b/.github/workflows/check-tests.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: Run Kotlin Check Tests + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" and "development" branch + push: + branches: [ "main", "development" ] + pull_request: + branches: [ "main", "development" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From 40de3f5f4bf2e94743963c4094883d81f133e6c0 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Wed, 9 Apr 2025 16:38:11 +0200 Subject: [PATCH 02/22] Update check-tests.yml --- .github/workflows/check-tests.yml | 33 +++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 0441960..a110534 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -23,14 +23,31 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! + - name: Set up Java (for Kotlin) + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' - # Runs a set of commands using the runners shell - - name: Run a multi-line script + - name: Install Kotlin compiler run: | - echo Add other actions to build, - echo test, and deploy your project. + sudo apt update + sudo apt install -y kotlin + + - name: Compile Tests Validator + run: | + mkdir -p out + kotlinc *.kt -include-runtime -d out/Tests.jar + + - name: Run Tests and Capture Output + id: run-tests + run: | + set -o pipefail + OUTPUT=$(kotlin kotlin out/Tests.jar | tee output.log) + echo "$OUTPUT" + echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" + + From c3cd47157ae6f7a4c9b83134762cfa70bccfe07b Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Wed, 9 Apr 2025 16:53:07 +0200 Subject: [PATCH 03/22] Update check-tests.yml --- .github/workflows/check-tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index a110534..d705f33 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -37,16 +37,16 @@ jobs: sudo apt update sudo apt install -y kotlin - - name: Compile Tests Validator + - name: Compile Kotlin files run: | mkdir -p out - kotlinc *.kt -include-runtime -d out/Tests.jar + find . -name "*.kt" > sources.txt + kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - - name: Run Tests and Capture Output - id: run-tests + - name: Run Tests and Fail on "Failed" run: | set -o pipefail - OUTPUT=$(kotlin kotlin out/Tests.jar | tee output.log) + OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) echo "$OUTPUT" echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" From 665a48c05fdb7f2c7e0207e3cc1250b969411dc0 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Fri, 11 Apr 2025 21:04:47 +0200 Subject: [PATCH 04/22] fix outdated compiler in workflow --- .github/workflows/check-tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index d705f33..537a26b 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -32,10 +32,11 @@ jobs: distribution: 'temurin' java-version: '17' - - name: Install Kotlin compiler + - name: Install Latest Kotlin Compiler run: | - sudo apt update - sudo apt install -y kotlin + curl -s https://get.sdkman.io | bash + source "$HOME/.sdkman/bin/sdkman-init.sh" + sdk install kotlin - name: Compile Kotlin files run: | From 7b21678fa4369e298ec6d33260f61f90b4d9f372 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Fri, 11 Apr 2025 21:15:10 +0200 Subject: [PATCH 05/22] fix no main class found --- .github/workflows/check-tests.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 537a26b..b3ffd31 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -38,11 +38,20 @@ jobs: source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install kotlin - - name: Compile Kotlin files + - name: Compile Kotlin files and create executable jar run: | - mkdir -p out + mkdir -p out/classes + + # Compile all .kt files to class files find . -name "*.kt" > sources.txt - kotlinc @sources.txt -include-runtime -d out/TestRunner.jar + kotlinc @sources.txt -d out/classes + + # Create a manifest file with the correct main class + echo "Main-Class: MainKt" > out/manifest.txt + + # Build the executable JAR with the manifest + jar cfm out/TestRunner.jar out/manifest.txt -C out/classes . + - name: Run Tests and Fail on "Failed" run: | @@ -50,5 +59,3 @@ jobs: OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) echo "$OUTPUT" echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" - - From 42a53586d2bb28ff426ccb03e66c697e94f9eebb Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Fri, 11 Apr 2025 21:34:47 +0200 Subject: [PATCH 06/22] fix NoClassFound error --- .github/workflows/check-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index b3ffd31..239f907 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -46,11 +46,11 @@ jobs: find . -name "*.kt" > sources.txt kotlinc @sources.txt -d out/classes - # Create a manifest file with the correct main class - echo "Main-Class: MainKt" > out/manifest.txt + # Find source files + find src -name "*.kt" > sources.txt - # Build the executable JAR with the manifest - jar cfm out/TestRunner.jar out/manifest.txt -C out/classes . + # Compile Kotlin and include runtime in the JAR + kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - name: Run Tests and Fail on "Failed" From 483712d9ec347304d5d273c9bfd2e2aad710816b Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Fri, 11 Apr 2025 21:52:46 +0200 Subject: [PATCH 07/22] Update check-tests.yml --- .github/workflows/check-tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 239f907..484bbfc 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -42,10 +42,6 @@ jobs: run: | mkdir -p out/classes - # Compile all .kt files to class files - find . -name "*.kt" > sources.txt - kotlinc @sources.txt -d out/classes - # Find source files find src -name "*.kt" > sources.txt From aea216d4c50ff7d2c9ebfc5962b80322263c72fe Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah <90288511+ZeyadAbdullah679@users.noreply.github.com> Date: Fri, 11 Apr 2025 21:57:30 +0200 Subject: [PATCH 08/22] Update check-tests.yml --- .github/workflows/check-tests.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 484bbfc..85541e7 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -47,10 +47,7 @@ jobs: # Compile Kotlin and include runtime in the JAR kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - - - - name: Run Tests and Fail on "Failed" - run: | + set -o pipefail OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) echo "$OUTPUT" From 78eca8b0a6715f3094076179d0957e32ed1dad69 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:00:03 +0200 Subject: [PATCH 09/22] defining the main class explicitly --- .github/workflows/check-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 85541e7..8c0056e 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -46,7 +46,7 @@ jobs: find src -name "*.kt" > sources.txt # Compile Kotlin and include runtime in the JAR - kotlinc @sources.txt -include-runtime -d out/TestRunner.jar + kotlinc @sources.txt -include-runtime -d out/TestRunner.jar -main MainKt set -o pipefail OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) From b820e2648d76fc67febfbc2c8b6e6bacd46b765d Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:11:25 +0200 Subject: [PATCH 10/22] define project manifest --- .github/workflows/check-tests.yml | 26 ++++++++++--------------- .idea/artifacts/Finance_Tracker_jar.xml | 10 ++++++++++ src/META-INF/MANIFEST.MF | 3 +++ 3 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 .idea/artifacts/Finance_Tracker_jar.xml create mode 100644 src/META-INF/MANIFEST.MF diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 8c0056e..4130d97 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -1,7 +1,5 @@ # This is a basic workflow to help you get started with Actions - name: Run Kotlin Check Tests - # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "main" and "development" branch @@ -9,46 +7,42 @@ on: branches: [ "main", "development" ] pull_request: branches: [ "main", "development" ] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout code uses: actions/checkout@v4 + - name: Set up Java (for Kotlin) uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '19' - name: Install Latest Kotlin Compiler run: | curl -s https://get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install kotlin - - - name: Compile Kotlin files and create executable jar - run: | - mkdir -p out/classes - # Find source files - find src -name "*.kt" > sources.txt + - name: Compile Kotlin files + run: | + mkdir -p out + find . -name "*.kt" > sources.txt + kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - # Compile Kotlin and include runtime in the JAR - kotlinc @sources.txt -include-runtime -d out/TestRunner.jar -main MainKt - + - name: Run Tests and Fail on "Failed" + run: | set -o pipefail OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) echo "$OUTPUT" - echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" + echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" \ No newline at end of file diff --git a/.idea/artifacts/Finance_Tracker_jar.xml b/.idea/artifacts/Finance_Tracker_jar.xml new file mode 100644 index 0000000..95947c8 --- /dev/null +++ b/.idea/artifacts/Finance_Tracker_jar.xml @@ -0,0 +1,10 @@ + + + $PROJECT_DIR$/out/artifacts/Finance_Tracker_jar + + + + + + + \ No newline at end of file diff --git a/src/META-INF/MANIFEST.MF b/src/META-INF/MANIFEST.MF new file mode 100644 index 0000000..82c7964 --- /dev/null +++ b/src/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: MainKt + From 5c5783488ab59d3010a8b4bc98ae3c4779b10893 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:15:11 +0200 Subject: [PATCH 11/22] testing ci --- src/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.kt b/src/Main.kt index 698c829..68d1073 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,3 @@ fun main(){ - + print("Failed") } \ No newline at end of file From 6323ea3e730acb7c010c1ad9f6faf2b2f3765617 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:18:17 +0200 Subject: [PATCH 12/22] testing ci 2 --- src/Main.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Main.kt b/src/Main.kt index 68d1073..6741568 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,7 @@ fun main(){ print("Failed") + + + + } \ No newline at end of file From fefdaaa7eaed6dcf01b743b62dd489f068d6124c Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:20:34 +0200 Subject: [PATCH 13/22] testing ci 3 --- .github/workflows/check-tests.yml | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 4130d97..089f6f2 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -1,45 +1,38 @@ -# This is a basic workflow to help you get started with Actions name: Run Kotlin Check Tests -# Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "main" and "development" branch push: branches: [ "main", "development" ] pull_request: branches: [ "main", "development" ] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout code uses: actions/checkout@v4 - - - name: Set up Java (for Kotlin) uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '19' - + java-version: '17' - name: Install Latest Kotlin Compiler run: | curl -s https://get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install kotlin - - name: Compile Kotlin files - run: | - mkdir -p out - find . -name "*.kt" > sources.txt - kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - + run: | + mkdir -p out/classes + find src -name "*.kt" > sources.txt + kotlinc @sources.txt -include-runtime -d out/classes + - name: Create Manifest File + run: | + echo "Manifest-Version: 1.0" > MANIFEST.MF + echo "Main-Class: MainKt" >> MANIFEST.MF + - name: Package Executable JAR + run: | + jar cfm out/TestRunner.jar MANIFEST.MF -C out/classes . - name: Run Tests and Fail on "Failed" run: | set -o pipefail From 23dfa6b530373cf8a3c75e1f8b60424ae076cdc2 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:22:55 +0200 Subject: [PATCH 14/22] resolve conflicts --- src/Main.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Main.kt b/src/Main.kt index 6741568..698c829 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,7 +1,3 @@ fun main(){ - print("Failed") - - - } \ No newline at end of file From dbee289d14b563c263d5212eec20131caa1ac51d Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:26:59 +0200 Subject: [PATCH 15/22] dismiss pull request --- .github/workflows/check-tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 089f6f2..4763dbc 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -2,8 +2,6 @@ name: Run Kotlin Check Tests on: push: branches: [ "main", "development" ] - pull_request: - branches: [ "main", "development" ] workflow_dispatch: jobs: build: From 2ee61d9d17fc225d3bc189f990e15d905cb6df68 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:30:34 +0200 Subject: [PATCH 16/22] testing continuous integration --- .github/workflows/check-tests.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 4763dbc..2ed4029 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -1,7 +1,10 @@ +# This is a basic workflow to help you get started with Actions name: Run Kotlin Check Tests on: push: branches: [ "main", "development" ] + pull_request: + branches: [ "main", "development" ] workflow_dispatch: jobs: build: @@ -19,21 +22,18 @@ jobs: curl -s https://get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install kotlin - - name: Compile Kotlin files + - name: Compile Kotlin files and create executable jar run: | mkdir -p out/classes + # Find all Kotlin source files find src -name "*.kt" > sources.txt - kotlinc @sources.txt -include-runtime -d out/classes - - name: Create Manifest File - run: | - echo "Manifest-Version: 1.0" > MANIFEST.MF - echo "Main-Class: MainKt" >> MANIFEST.MF - - name: Package Executable JAR - run: | - jar cfm out/TestRunner.jar MANIFEST.MF -C out/classes . + # Compile Kotlin code and include runtime + kotlinc @sources.txt -include-runtime -d out/TestRunner.jar - name: Run Tests and Fail on "Failed" run: | set -o pipefail - OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) + # Run the compiled JAR with explicit main class + OUTPUT=$(java -jar out/TestRunner.jar | tee output.log) echo "$OUTPUT" + # Fail the job if "Failed" appears in the output echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" \ No newline at end of file From b689e2f4b15c65250bf560fb63374085020d2809 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:32:52 +0200 Subject: [PATCH 17/22] dismiss pull request on branches --- .github/workflows/check-tests.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 2ed4029..4763dbc 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -1,10 +1,7 @@ -# This is a basic workflow to help you get started with Actions name: Run Kotlin Check Tests on: push: branches: [ "main", "development" ] - pull_request: - branches: [ "main", "development" ] workflow_dispatch: jobs: build: @@ -22,18 +19,21 @@ jobs: curl -s https://get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install kotlin - - name: Compile Kotlin files and create executable jar + - name: Compile Kotlin files run: | mkdir -p out/classes - # Find all Kotlin source files find src -name "*.kt" > sources.txt - # Compile Kotlin code and include runtime - kotlinc @sources.txt -include-runtime -d out/TestRunner.jar + kotlinc @sources.txt -include-runtime -d out/classes + - name: Create Manifest File + run: | + echo "Manifest-Version: 1.0" > MANIFEST.MF + echo "Main-Class: MainKt" >> MANIFEST.MF + - name: Package Executable JAR + run: | + jar cfm out/TestRunner.jar MANIFEST.MF -C out/classes . - name: Run Tests and Fail on "Failed" run: | set -o pipefail - # Run the compiled JAR with explicit main class - OUTPUT=$(java -jar out/TestRunner.jar | tee output.log) + OUTPUT=$(kotlin out/TestRunner.jar | tee output.log) echo "$OUTPUT" - # Fail the job if "Failed" appears in the output echo "$OUTPUT" | grep -q "Failed" && exit 1 || echo "All tests passed" \ No newline at end of file From 1d7095763dec1a95b6eee9d596cce5e2cd2d6807 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:35:56 +0200 Subject: [PATCH 18/22] try push with check issues --- src/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.kt b/src/Main.kt index 698c829..cab6588 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,3 @@ fun main(){ - + println("Failed") } \ No newline at end of file From bf4590361666be6a728be095849d17602f00a271 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:41:23 +0200 Subject: [PATCH 19/22] testing without pull request --- .github/workflows/check-tests.yml | 2 ++ src/Main.kt | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/check-tests.yml b/.github/workflows/check-tests.yml index 4763dbc..d6e31a8 100644 --- a/.github/workflows/check-tests.yml +++ b/.github/workflows/check-tests.yml @@ -2,6 +2,8 @@ name: Run Kotlin Check Tests on: push: branches: [ "main", "development" ] +# pull_request: +# branches: [ "main", "development" ] workflow_dispatch: jobs: build: diff --git a/src/Main.kt b/src/Main.kt index cab6588..61978e0 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,4 @@ fun main(){ println("Failed") + } \ No newline at end of file From e3c1fdeca898b93a458212caa5a1f738656e7c62 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:44:06 +0200 Subject: [PATCH 20/22] testing without pull request --- src/Main.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Main.kt b/src/Main.kt index 61978e0..698c829 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,4 +1,3 @@ fun main(){ - println("Failed") } \ No newline at end of file From 8b03985b163b7d7e57df97462fd820fdb9c9dfb8 Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:50:30 +0200 Subject: [PATCH 21/22] testing without pull request --- src/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.kt b/src/Main.kt index 698c829..68d1073 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,3 @@ fun main(){ - + print("Failed") } \ No newline at end of file From 41f62f9cbaacde8e6987626db406c97e368c8aef Mon Sep 17 00:00:00 2001 From: Zeyad Abdullah Date: Fri, 11 Apr 2025 22:52:15 +0200 Subject: [PATCH 22/22] finish ci/cd check --- src/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.kt b/src/Main.kt index 68d1073..698c829 100644 --- a/src/Main.kt +++ b/src/Main.kt @@ -1,3 +1,3 @@ fun main(){ - print("Failed") + } \ No newline at end of file