percy-appium-app 1.0.1 → 1.0.2.pre.beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +19 -0
- data/percy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6db462481d8c69a57fb40d79e60ea87b3e84148642c2c851c54332bf93234cc3
|
|
4
|
+
data.tar.gz: bff759fa86b05f953f1b4ab699dc7706c0c3a1765ff28eccb6879babb5ca021b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 820b11dc43946d5b5e2be9afe2bbd7b494b1683de26c9f969757d9e41db69827312cfad3dde9cced4cd5f6600c437b31f0c7adc2e18508499f5fc2f5d3d216fe
|
|
7
|
+
data.tar.gz: e695491a4736bb152cd90740888882ffc0bef9eeb3f12ccdd965690a60217de55674ab05bf3bf5908b1dd9393f9100f8f59d32b433614c17661d265851bd64cf
|
data/.github/workflows/test.yml
CHANGED
|
@@ -6,6 +6,7 @@ on:
|
|
|
6
6
|
workflow_dispatch:
|
|
7
7
|
inputs:
|
|
8
8
|
branch:
|
|
9
|
+
description: Which branch of @percy/cli to build from source for this run
|
|
9
10
|
required: false
|
|
10
11
|
type: string
|
|
11
12
|
default: master
|
|
@@ -42,6 +43,24 @@ jobs:
|
|
|
42
43
|
key: v1/${{ runner.os }}/ruby-${{ matrix.ruby }}/${{ hashFiles('**/Gemfile.lock') }}
|
|
43
44
|
restore-keys: v1/${{ runner.os }}/ruby-${{ matrix.ruby }}/
|
|
44
45
|
- run: bundle install
|
|
46
|
+
- name: Set up @percy/cli from git
|
|
47
|
+
if: ${{ github.event_name == 'workflow_dispatch' }}
|
|
48
|
+
env:
|
|
49
|
+
BRANCH: ${{ github.event.inputs.branch }}
|
|
50
|
+
WORKSPACE: ${{ github.workspace }}
|
|
51
|
+
run: |
|
|
52
|
+
cd /tmp
|
|
53
|
+
git clone --branch "$BRANCH" --depth 1 https://github.com/percy/cli
|
|
54
|
+
cd cli
|
|
55
|
+
PERCY_PACKAGES=`find packages -mindepth 1 -maxdepth 1 -type d | sed -e 's/packages/@percy/g' | tr '\n' ' '`
|
|
56
|
+
yarn
|
|
57
|
+
yarn build
|
|
58
|
+
yarn global:link
|
|
59
|
+
cd "$WORKSPACE"
|
|
60
|
+
yarn link $PERCY_PACKAGES >/dev/null 2>&1 || true
|
|
61
|
+
echo "$(yarn global bin)" >> "$GITHUB_PATH"
|
|
62
|
+
export PATH="$(yarn global bin):$PATH"
|
|
63
|
+
percy --version
|
|
45
64
|
# Run each spec via the SimpleCov runner so per-process coverage is
|
|
46
65
|
# recorded and merged, then collate the merged result and enforce the gate.
|
|
47
66
|
- run: for file in specs/*.rb; do echo "$file"; bundle exec ruby specs/support/run_spec.rb "$file"; done
|
data/percy/version.rb
CHANGED