Skip to content

Commit

Permalink
style(github): adjusts workflow/job/step names
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Nov 26, 2023
1 parent 18b77f6 commit 640721a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backstop-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: ↧ Install
run: npm ci

- name: πŸ§ͺ Test
- name: "𓋏 Run `npm run integration-test`"
run: |
npm run integration-test
8 changes: 4 additions & 4 deletions .github/workflows/backstop-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
sanity-puppeteer:
name: πŸ€ͺ Puppet Sanity
name: πŸ€ͺ Puppeteer
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -31,12 +31,12 @@ jobs:
- name: ↧ Install
run: npm ci

- name: 🧸 Test Puppeteer
- name: "𓋏 Run `npm run sanity-test`"
run: |
npm run sanity-test
sanity-playwright:
name: πŸ€ͺ Playwright Sanity
name: πŸ€ͺ Playwright
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -54,7 +54,7 @@ jobs:
- name: ↧ Install
run: npm ci

- name: 🎭 Test Playwright
- name: "🎭 Run `npm run sanity-test-playwright`"
run: |
npx playwright install --with-deps
npm run sanity-test-playwright
8 changes: 4 additions & 4 deletions .github/workflows/backstop-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
smoke-puppeteer:
name: πŸ’¨ Puppet Smoke
name: πŸ’¨ Puppeteer
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -31,13 +31,13 @@ jobs:
- name: ↧ Install
run: npm ci

- name: 🧸 Puppeteer Smoke
- name: "𓋏 Run `npm run smoke-test`"
continue-on-error: true
run: |
npm run smoke-test
smoke-playwright:
name: πŸ’¨ Playwright Smoke
name: πŸ’¨ Playwright
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -55,7 +55,7 @@ jobs:
- name: ↧ Install
run: npm ci

- name: 🎭 Playwright Smoke
- name: "🎭 Run `npm run smoke-test-playwright`"
continue-on-error: true
run: |
npx playwright install --with-deps
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
sanity-test-puppeteer:
name: πŸ€ͺ Puppeteer Sanity
name: πŸ€ͺ Puppeteer
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -61,12 +61,12 @@ jobs:
run: |
docker pull $REGISTRY/$IMAGE_NAME_LC:$TAG
- name: 🧸 Puppeteer Sanity
- name: "𓋏 Run `backstop test` in Docker"
run: |
cd test/configs/ && docker run --rm -t --mount type=bind,source="$(pwd)",target=/src $REGISTRY/$IMAGE_NAME_LC:$TAG test
sanity-test-playwright:
name: πŸ€ͺ Playwright Sanity
name: πŸ€ͺ Playwright
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -109,6 +109,6 @@ jobs:
run: |
docker pull $REGISTRY/$IMAGE_NAME_LC:$TAG
- name: 🎭 Playwright Sanity
- name: "🎭 Run `backstop test --confg=playwright` in Docker"
run: |
cd test/configs/ && docker run --rm -t --entrypoint='' --mount type=bind,source="$(pwd)",target=/src $REGISTRY/$IMAGE_NAME_LC:$TAG sh -c "chmod -R 777 /root && chmod -R 777 /opt/pw-browsers && npm --verbose --foreground-scripts i -D playwright && npx --verbose --foreground-scripts --yes playwright@$PLAYWRIGHT_VERSION install && backstop test --config=playwright"
8 changes: 4 additions & 4 deletions .github/workflows/docker-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
smoke-test-puppeteer:
name: πŸ’¨ Puppeteer Smoke
name: πŸ’¨ Puppeteer
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -60,13 +60,13 @@ jobs:
run: |
docker pull $REGISTRY/$IMAGE_NAME_LC:$TAG
- name: 🧸 Puppeteer Smoke
- name: "𓋏 Run `backstop test --confg=backstop_features` in Docker"
continue-on-error: true
run: |
cd test/configs/ && docker run --rm -t --mount type=bind,source="$(pwd)",target=/src $REGISTRY/$IMAGE_NAME_LC:$TAG test --config=backstop_features
smoke-test-playwright:
name: πŸ’¨ Playwright Smoke
name: πŸ’¨ Playwright
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
run: |
docker pull $REGISTRY/$IMAGE_NAME_LC:$TAG
- name: 🎭 Playwright Smoke
- name: "🎭 Run `backstop test --confg=backstop_features_pw` in Docker"
continue-on-error: true
run: |
cd test/configs/ && docker run --rm -t --entrypoint='' --mount type=bind,source="$(pwd)",target=/src $REGISTRY/$IMAGE_NAME_LC:$TAG sh -c "npm -g config set user root && chmod -R 777 /root && chmod -R 777 /opt/pw-browsers && npm --verbose i -D playwright && npx --verbose --foreground-scripts --yes playwright@$PLAYWRIGHT_VERSION install && backstop test --config=backstop_features_pw"
4 changes: 2 additions & 2 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ permissions:

jobs:
sanity-test:
name: πŸ’¨ Smoke Test Docker
name: πŸ’¨ Docker Smoke Test
uses: ./.github/workflows/docker-smoke-test.yml

smoke-test:
name: πŸ€ͺ Sanity Test Docker
name: πŸ€ͺ Docker Sanity Test
uses: ./.github/workflows/docker-sanity-test.yml

0 comments on commit 640721a

Please sign in to comment.