Skip to content

Commit

Permalink
Merge pull request #1296 from adopted-ember-addons/percy
Browse files Browse the repository at this point in the history
Add percy
  • Loading branch information
mansona authored Nov 13, 2024
2 parents 175c579 + e4a6fee commit cf2d383
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 13 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
test:
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10
env:
PERCY_TOKEN: web_fd6630a88fbe17df0319f50cf1ff005ba127bfea4c61fdd535c69275a648ec28

steps:
- uses: actions/checkout@v4
Expand All @@ -29,11 +32,12 @@ jobs:
- name: Lint
run: pnpm run lint
- name: Run Tests
run: pnpm run test:ember
run: pnpm percy exec -- pnpm run test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
Expand All @@ -50,6 +54,7 @@ jobs:
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
timeout-minutes: 10
needs: "test"

strategy:
Expand All @@ -76,6 +81,7 @@ jobs:
failing-try-scenarios:
name: ${{ matrix.try-scenario }} Allowed to fail
runs-on: ubuntu-latest
timeout-minutes: 10
needs: "test"

permissions:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@
"@ember/jquery": "^1.1.0",
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.4.2",
"@embroider/macros": "^1.16.9",
"@embroider/test-setup": "^0.43.5",
"@faker-js/faker": "^9.0.3",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@percy/cli": "^1.30.1",
"@percy/ember": "^4.2.0",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-cli": "~3.28.4",
Expand Down
Loading

0 comments on commit cf2d383

Please sign in to comment.