Skip to content

Commit c6a16be

Browse files
authored
chore(Internal): 🔖 new release (#376)
2 parents b2c6184 + b60eae6 commit c6a16be

File tree

140 files changed

+5913
-6243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+5913
-6243
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: WasiqB
1+
github: BoykaFramework
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This workflow was added by CodeSee. Learn more at https://codesee.io/
2+
# This is v2.0 of this workflow file
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
- staging
9+
pull_request_target:
10+
types: [opened, synchronize, reopened]
11+
12+
name: CodeSee
13+
14+
permissions: read-all
15+
16+
jobs:
17+
codesee:
18+
runs-on: ubuntu-latest
19+
continue-on-error: true
20+
name: Analyze the repo with CodeSee
21+
steps:
22+
- uses: Codesee-io/codesee-action@v2
23+
with:
24+
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}

.github/workflows/pre-release.yml

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- staging
99
types:
1010
- closed
11+
paths:
12+
- 'core-java/**'
1113

1214
env:
1315
GITHUB_AUTH: ${{ secrets.PUSH_TOKEN }}
@@ -63,10 +65,10 @@ jobs:
6365
- name: Upload updated version related files to artifacts
6466
uses: actions/upload-artifact@v3
6567
with:
66-
name: target
68+
name: version-files
6769
path: |
68-
${{ github.workspace }}/lerna.json
6970
${{ github.workspace }}/CHANGELOG.md
71+
${{ github.workspace }}/lerna.json
7072
${{ github.workspace }}/website/package.json
7173
7274
pre-release-snapshot:
@@ -89,17 +91,9 @@ jobs:
8991
path: ~/.m2/repository
9092
key: ${{ runner.os }}-maven-${{ github.sha }}
9193

92-
- name: Download artifacts data
93-
uses: actions/download-artifact@v3
94-
with:
95-
name: target
96-
9794
- name: Maven command to update snapshot version
9895
run: mvn build-helper:parse-version versions:set -f core-java/pom.xml -DnewVersion=${{ needs.prepare-pre-release.outputs.new-version }}-SNAPSHOT versions:commit
9996

100-
- name: Build the artifacts
101-
run: mvn clean install -f core-java/pom.xml -DskipTests -Dcheckstyle.skip
102-
10397
- name: Release snapshot to Maven central
10498
uses: samuelmeuli/action-maven-publish@v1
10599
with:
@@ -111,17 +105,6 @@ jobs:
111105
server_id: ossrh
112106
maven_args: --settings ${{ github.workspace }}/core-java/setting/settings.xml -f core-java/pom.xml -DskipTests -Dcheckstyle.skip -B
113107

114-
- name: Upload target folder
115-
uses: actions/upload-artifact@v3
116-
with:
117-
name: target
118-
path: |
119-
${{ github.workspace }}/lerna.json
120-
${{ github.workspace }}/CHANGELOG.md
121-
${{ github.workspace }}/website/package.json
122-
${{ github.workspace }}/core-java/target
123-
${{ github.workspace }}/core-java/pom.xml
124-
125108
pre-release:
126109
runs-on: ubuntu-latest
127110
needs:
@@ -144,17 +127,9 @@ jobs:
144127
path: ~/.m2/repository
145128
key: ${{ runner.os }}-maven-${{ github.sha }}
146129

147-
- name: Download artifacts data
148-
uses: actions/download-artifact@v3
149-
with:
150-
name: target
151-
152130
- name: Maven command to update pre-release version
153131
run: mvn build-helper:parse-version versions:set -f core-java/pom.xml -DnewVersion=${{ needs.prepare-pre-release.outputs.new-version }} versions:commit
154132

155-
- name: Build the artifacts
156-
run: mvn clean install -f core-java/pom.xml -DskipTests -Dcheckstyle.skip
157-
158133
- name: Release to Maven central
159134
uses: samuelmeuli/action-maven-publish@v1
160135
with:
@@ -171,10 +146,13 @@ jobs:
171146
with:
172147
name: target
173148
path: |
174-
${{ github.workspace }}/lerna.json
175-
${{ github.workspace }}/CHANGELOG.md
176-
${{ github.workspace }}/website/package.json
177149
${{ github.workspace }}/core-java/target
150+
151+
- name: Upload version files folder
152+
uses: actions/upload-artifact@v3
153+
with:
154+
name: version-files
155+
path: |
178156
${{ github.workspace }}/core-java/pom.xml
179157
180158
push-pom:
@@ -189,10 +167,10 @@ jobs:
189167
with:
190168
token: ${{ env.PUSH_TOKEN }}
191169

192-
- name: Download target folder
170+
- name: Download Version files
193171
uses: actions/download-artifact@v3
194172
with:
195-
name: target
173+
name: version-files
196174

197175
- name: Import GPG key
198176
uses: crazy-max/ghaction-import-gpg@v5

.github/workflows/release.yml

Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- main
99
types:
1010
- closed
11+
paths:
12+
- 'core-java/**'
1113

1214
env:
1315
GITHUB_AUTH: ${{ secrets.PUSH_TOKEN }}
@@ -24,6 +26,7 @@ jobs:
2426

2527
outputs:
2628
new-version: ${{ steps.version.outputs.version }}
29+
old-version: ${{ steps.old_version.outputs.previous_version }}
2730

2831
steps:
2932
- name: Check out Git repository
@@ -63,10 +66,10 @@ jobs:
6366
- name: Upload updated version related files to artifacts
6467
uses: actions/upload-artifact@v3
6568
with:
66-
name: target
69+
name: version-files
6770
path: |
68-
${{ github.workspace }}/lerna.json
6971
${{ github.workspace }}/CHANGELOG.md
72+
${{ github.workspace }}/lerna.json
7073
${{ github.workspace }}/website/package.json
7174
7275
release-snapshot:
@@ -89,17 +92,9 @@ jobs:
8992
path: ~/.m2/repository
9093
key: ${{ runner.os }}-maven-${{ github.sha }}
9194

92-
- name: Download artifacts data
93-
uses: actions/download-artifact@v3
94-
with:
95-
name: target
96-
9795
- name: Maven command to update snapshot version
9896
run: mvn build-helper:parse-version versions:set -f core-java/pom.xml -DnewVersion=${{ needs.prepare-release.outputs.new-version }}-SNAPSHOT versions:commit
9997

100-
- name: Build the artifacts
101-
run: mvn clean install -f core-java/pom.xml -DskipTests -Dcheckstyle.skip
102-
10398
- name: Release snapshot to Maven central
10499
uses: samuelmeuli/action-maven-publish@v1
105100
with:
@@ -111,17 +106,6 @@ jobs:
111106
server_id: ossrh
112107
maven_args: --settings ${{ github.workspace }}/core-java/setting/settings.xml -f core-java/pom.xml -DskipTests -Dcheckstyle.skip -B
113108

114-
- name: Upload target folder
115-
uses: actions/upload-artifact@v3
116-
with:
117-
name: target
118-
path: |
119-
${{ github.workspace }}/lerna.json
120-
${{ github.workspace }}/CHANGELOG.md
121-
${{ github.workspace }}/website/package.json
122-
${{ github.workspace }}/core-java/target
123-
${{ github.workspace }}/core-java/pom.xml
124-
125109
release:
126110
runs-on: ubuntu-latest
127111
needs:
@@ -144,17 +128,9 @@ jobs:
144128
path: ~/.m2/repository
145129
key: ${{ runner.os }}-maven-${{ github.sha }}
146130

147-
- name: Download artifacts data
148-
uses: actions/download-artifact@v3
149-
with:
150-
name: target
151-
152131
- name: Maven command to update release version
153132
run: mvn build-helper:parse-version versions:set -f core-java/pom.xml -DnewVersion=${{ needs.prepare-release.outputs.new-version }} versions:commit
154133

155-
- name: Build the artifacts
156-
run: mvn clean install -f core-java/pom.xml -DskipTests -Dcheckstyle.skip
157-
158134
- name: Release to Maven central
159135
uses: samuelmeuli/action-maven-publish@v1
160136
with:
@@ -171,10 +147,13 @@ jobs:
171147
with:
172148
name: target
173149
path: |
174-
${{ github.workspace }}/lerna.json
175-
${{ github.workspace }}/CHANGELOG.md
176-
${{ github.workspace }}/website/package.json
177150
${{ github.workspace }}/core-java/target
151+
152+
- name: Upload version files folder
153+
uses: actions/upload-artifact@v3
154+
with:
155+
name: version-files
156+
path: |
178157
${{ github.workspace }}/core-java/pom.xml
179158
180159
push-pom:
@@ -189,10 +168,21 @@ jobs:
189168
with:
190169
token: ${{ env.PUSH_TOKEN }}
191170

192-
- name: Download target folder
171+
- name: Download Version files
193172
uses: actions/download-artifact@v3
194173
with:
195-
name: target
174+
name: version-files
175+
176+
- name: Update new version
177+
uses: jacobtomlinson/gha-find-replace@v2
178+
with:
179+
find: ${{ needs.prepare-release.outputs.old-version }}
180+
replace: ${{ needs.prepare-release.outputs.new-version }}
181+
regex: false
182+
include: |
183+
README.md
184+
package.json
185+
website/docs/framework-docs/getting-started/usage.md
196186
197187
- name: Import GPG key
198188
uses: crazy-max/ghaction-import-gpg@v5
@@ -210,6 +200,9 @@ jobs:
210200
lerna.json
211201
CHANGELOG.md
212202
website/package.json
203+
README.md
204+
package.json
205+
website/docs/framework-docs/getting-started/usage.md
213206
message: |
214207
chore(Internal): :bookmark: released latest version to maven central
215208
push: true

.github/workflows/test-core.yml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,15 @@ jobs:
9090
- name: Launch iOS Simulator
9191
uses: futureware-tech/simulator-action@v2
9292
with:
93-
model: 'iPhone 14 Pro Max'
93+
model: 'iPhone 14'
9494
os: 'iOS'
9595
os_version: 16.2
9696
shutdown_after_job: true
9797

9898
- name: All Test execution
9999
uses: reactivecircus/android-emulator-runner@v2
100-
if: github.event_name == 'push'
101100
with:
102-
avd-name: Pixel_6_Pro
101+
avd-name: Nexus_6
103102
api-level: 30
104103
target: google_apis
105104
arch: x86
@@ -109,38 +108,23 @@ jobs:
109108
disable-animations: false
110109
script: mvn org.jacoco:jacoco-maven-plugin:prepare-agent install -f core-java/pom.xml -Pcoverage-per-test
111110

112-
- name: PR Test execution
113-
uses: reactivecircus/android-emulator-runner@v2
114-
if: github.event_name == 'pull_request'
115-
with:
116-
avd-name: Pixel_6_Pro
117-
api-level: 30
118-
target: google_apis
119-
arch: x86
120-
profile: Nexus 6
121-
force-avd-creation: false
122-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
123-
disable-animations: false
124-
script: mvn org.jacoco:jacoco-maven-plugin:prepare-agent install -f core-java/pom.xml -Pcoverage-per-test -Dsuite-xml=test-suites/testng-pr.xml
125-
126111
- name: Test Report
127-
if: always()
112+
if: failure()
128113
run: cat ${{ github.workspace }}/core-java/target/surefire-reports/my-report.md > $GITHUB_STEP_SUMMARY
129114

130-
- name: Upload target folder
115+
- name: Upload reports folder
131116
uses: actions/upload-artifact@v3
132117
if: always()
133118
with:
134-
name: target
119+
name: reports
135120
path: |
121+
${{ github.workspace }}/core-java/reports
136122
${{ github.workspace }}/core-java/logs
137123
${{ github.workspace }}/core-java/selenium-grid.log
138124
${{ github.workspace }}/core-java/target
139-
${{ github.workspace }}/core-java/reports
140125
${{ github.workspace }}/core-java/screenshots
141126
142127
analysis:
143-
if: github.event_name == 'push'
144128
needs:
145129
- test
146130
runs-on: ubuntu-latest
@@ -165,7 +149,7 @@ jobs:
165149
- name: Download target folder
166150
uses: actions/download-artifact@v3
167151
with:
168-
name: target
152+
name: reports
169153
path: ${{ github.workspace }}/core-java
170154

171155
- name: Build and analyze

.github/workflows/test-release.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,13 @@ jobs:
5050
- name: All Test execution
5151
run: mvn clean test -f sample-tests/pom.xml -Dboyka.version=${{ steps.version.outputs.version }}
5252

53-
- name: Test Report
54-
if: always()
55-
uses: dorny/test-reporter@v1
56-
with:
57-
name: Test Results
58-
path: ${{ github.workspace }}/sample-tests/target/surefire-reports/*.xml
59-
reporter: java-junit
60-
6153
- name: Upload target folder
6254
uses: actions/upload-artifact@v3
63-
if: always()
55+
if: failure()
6456
with:
6557
name: target
6658
path: |
6759
${{ github.workspace }}/sample-tests/logs
6860
${{ github.workspace }}/sample-tests/selenium-grid.log
6961
${{ github.workspace }}/sample-tests/target
70-
${{ github.workspace }}/sample-tests/reports
7162
${{ github.workspace }}/sample-java/screenshots

0 commit comments

Comments
 (0)