From 2b3b28ea276e6a0e0b0950f136fb4736e1e4288d Mon Sep 17 00:00:00 2001 From: Ashish Date: Sun, 18 Aug 2024 13:57:07 +0200 Subject: [PATCH] added github actions workflow --- .github/workflows/maven.yml | 28 +++++++++++++++ .gitignore | 35 +++++++++++++++++++ .idea/.gitignore | 3 -- .idea/compiler.xml | 18 ---------- .idea/encodings.xml | 21 ----------- .idea/jarRepositories.xml | 25 ------------- .idea/misc.xml | 12 ------- .idea/vcs.xml | 6 ---- Common/pom.xml | 2 +- Datalib/pom.xml | 2 +- Dist/pom.xml | 2 +- Engine/pom.xml | 2 +- IDE/pom.xml | 2 +- .../com/ing/ide/main/mainui/AppMainFrame.java | 2 +- README.md | 11 +++--- StoryWriter/pom.xml | 2 +- TestData - Csv/pom.xml | 2 +- pom.xml | 2 +- 18 files changed, 76 insertions(+), 101 deletions(-) create mode 100644 .github/workflows/maven.yml create mode 100644 .gitignore delete mode 100644 .idea/.gitignore delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/jarRepositories.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/vcs.xml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..c297e7a --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,28 @@ +name: Build INGenious Source Code + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn clean install --file pom.xml + - name: Upload INGenious release + uses: actions/upload-artifact@v4.3.6 + with: + name: INGenious framework + path: /Dist/target/*.zip \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..138e7f1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +# Compiled class file +*.class + +# Log file +*.log + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next + +# Release +/Dist/release +/Dist/release/** + +# IDE Generated Files +nbproject +nbactions*.xml +nb-configuration.xml +.settings/ +.project +.classpath +.idea/ + +# System Files +.DS_Store +Thumbs.db + +# other files +recent.items \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index e82e997..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 4a629aa..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml deleted file mode 100644 index 571807e..0000000 --- a/.idea/jarRepositories.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 67e1e61..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Common/pom.xml b/Common/pom.xml index b4cbe7f..3fcdc46 100644 --- a/Common/pom.xml +++ b/Common/pom.xml @@ -5,7 +5,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 Common diff --git a/Datalib/pom.xml b/Datalib/pom.xml index 346c6a3..4e91f25 100644 --- a/Datalib/pom.xml +++ b/Datalib/pom.xml @@ -4,7 +4,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 ingenious-datalib jar diff --git a/Dist/pom.xml b/Dist/pom.xml index 07cea07..e6cf879 100644 --- a/Dist/pom.xml +++ b/Dist/pom.xml @@ -4,7 +4,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 Dist pom diff --git a/Engine/pom.xml b/Engine/pom.xml index 94ca0a7..5665c64 100644 --- a/Engine/pom.xml +++ b/Engine/pom.xml @@ -5,7 +5,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 ingenious-engine jar diff --git a/IDE/pom.xml b/IDE/pom.xml index 3542c11..a68b567 100644 --- a/IDE/pom.xml +++ b/IDE/pom.xml @@ -4,7 +4,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 ingenious-ide jar diff --git a/IDE/src/main/java/com/ing/ide/main/mainui/AppMainFrame.java b/IDE/src/main/java/com/ing/ide/main/mainui/AppMainFrame.java index fc59cfe..002f40a 100644 --- a/IDE/src/main/java/com/ing/ide/main/mainui/AppMainFrame.java +++ b/IDE/src/main/java/com/ing/ide/main/mainui/AppMainFrame.java @@ -208,7 +208,7 @@ public void showDashBoard() { } private String getAppTitle() { - return "INGenious Playwright Studio " + About.getBuildVersion(); + return "INGenious Playwright Studio " + About.getBuildVersion() + " (Open Source)"; } public String getCurrentSlide() { diff --git a/README.md b/README.md index 2d51ee1..a93fe3c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ Developed and perfected by **ING Bank** for over 4 years of real-world usage, **INGenious** is now open-source and available to everyone. Designed to simplify and streamline test automation, this robust solution empowers teams of all sizes to achieve efficient, high-quality testing. By joining the global testing community, ING aims to collaborate, innovate, and elevate automated testing together. > [!NOTE] - > It provides an easy and simple way to create highly reliable automated tests. It leverages the power of __Playwright-Java__ and combines it with a user-friendly IDE which makes it a highly effective solution. > The idea behind INGenious is to enable engineers, business analysts and even non-technical stakeholders to design high quality automated tests which focus on the business goals, without them having to worry about coding. @@ -25,25 +24,23 @@ Developed and perfected by **ING Bank**< ----------------------- - + -------- diff --git a/StoryWriter/pom.xml b/StoryWriter/pom.xml index dbe536e..e09d0cc 100644 --- a/StoryWriter/pom.xml +++ b/StoryWriter/pom.xml @@ -4,7 +4,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 storywriter jar diff --git a/TestData - Csv/pom.xml b/TestData - Csv/pom.xml index c539aff..c433d10 100644 --- a/TestData - Csv/pom.xml +++ b/TestData - Csv/pom.xml @@ -4,7 +4,7 @@ com.ing ingenious-playwright - 1.2 + 1.0 ingenious-testdata-csv jar diff --git a/pom.xml b/pom.xml index e48e875..29ad6ec 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.ing ingenious-playwright - 1.2 + 1.0 pom StoryWriter