From 7e1a88d5bd8b0c40d2bee44aa691f55e116fda2a Mon Sep 17 00:00:00 2001
From: ayato-p <1432156+ayato-p@users.noreply.github.com>
Date: Sat, 25 Nov 2023 19:33:51 +0900
Subject: [PATCH] Test pipeline (#47)
* Rewrite pipeline
* Rewrite pipeline
* Tweaks
* tweaks
* tweaks
* tweaks
* tweaks
---
.github/workflows/pr-test.yml | 15 +++++++++------
playtest-browser/pom.xml | 2 +-
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml
index ca913c0..0def28d 100644
--- a/.github/workflows/pr-test.yml
+++ b/.github/workflows/pr-test.yml
@@ -4,7 +4,7 @@ on:
push:
{}
pull_request:
- types: [opened, reopened]
+ types: [opened, reopened ]
jobs:
test_for_pr:
@@ -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
@@ -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
diff --git a/playtest-browser/pom.xml b/playtest-browser/pom.xml
index f8d570b..1d64eb7 100644
--- a/playtest-browser/pom.xml
+++ b/playtest-browser/pom.xml
@@ -43,7 +43,7 @@
3.0.1
1.5.31
1.5.31
- 6.7.4
+ 7.0.2
1.6.13
https://oss.sonatype.org/