Skip to content

Commit

Permalink
Test pipeline (#47)
Browse files Browse the repository at this point in the history
* Rewrite pipeline

* Rewrite pipeline

* Tweaks

* tweaks

* tweaks

* tweaks

* tweaks
  • Loading branch information
ayato-p authored Nov 25, 2023
1 parent 061b2ca commit 7e1a88d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
{}
pull_request:
types: [opened, reopened]
types: [opened, reopened ]

jobs:
test_for_pr:
Expand All @@ -17,11 +17,14 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Setup chromedriver
# curl -sL -o chromedriver-linux64.zip $(curl 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq -r '.channels.Stable.downloads.chromedriver[] | select(.platform == "linux64") | .url')
- uses: logikal-io/run-logikal-playbook@v1
with:
roles: chrome,chromedriver
vars: '{"_chrome_version": "119.0.6045.105", "_chromedriver_version": "119.0.6045.105"}'
- name: Confirm chromedriver version
run: |
curl -sL -o chromedriver-linux64.zip $(curl 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq -r '.channels.Stable.downloads.chromedriver[] | select(.platform == "linux64") | .url')
unzip chromedriver-linux64.zip
sudo mv chromedriver-linux64/chromedriver /usr/local/bin/
chromedriver --version
- name: Gauge install
run: |
curl -SsL https://downloads.gauge.org/stable | sh
Expand All @@ -37,7 +40,7 @@ jobs:
run: |
gauge config runner_connection_timeout 180000
gauge config runner_request_timeout 180000
for MVN_PROJ in playtest-gauge-browser playtest-browser playtest-db playtest-gauge-db playtest-gauge-rest playtest-json
for MVN_PROJ in playtest-browser playtest-db playtest-gauge-db playtest-gauge-rest playtest-json
do
pushd $MVN_PROJ
mvn test
Expand Down
2 changes: 1 addition & 1 deletion playtest-browser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<maven_gpg_plugin.version>3.0.1</maven_gpg_plugin.version>
<dokka.version>1.5.31</dokka.version>
<kotlin_as_java_plugin.version>1.5.31</kotlin_as_java_plugin.version>
<selenide.version>6.7.4</selenide.version>
<selenide.version>7.0.2</selenide.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<nexus-staging-maven-plugin.nexusUrl>https://oss.sonatype.org/</nexus-staging-maven-plugin.nexusUrl>
</properties>
Expand Down

0 comments on commit 7e1a88d

Please sign in to comment.