Skip to content

Commit 7cc54a9

Browse files
committed
remove tests
They were very rarely useful
1 parent a0ea108 commit 7cc54a9

File tree

7 files changed

+0
-339
lines changed

7 files changed

+0
-339
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -48,55 +48,6 @@ jobs:
4848
with:
4949
path: ./dist/
5050

51-
test:
52-
needs: build
53-
runs-on: ubuntu-latest
54-
strategy:
55-
matrix:
56-
node-version: [22]
57-
timeout-minutes: 15
58-
steps:
59-
- name: Checkout
60-
uses: actions/checkout@v5
61-
62-
- uses: pnpm/action-setup@v4
63-
with:
64-
version: 10
65-
66-
- name: Use Node.js ${{ matrix.node-version }}
67-
uses: actions/setup-node@v4
68-
with:
69-
node-version: ${{ matrix.node-version }}
70-
cache: "pnpm"
71-
72-
- name: Retrieve output from build step
73-
uses: actions/download-artifact@v4
74-
with:
75-
name: github-pages
76-
path: ./website-build
77-
78-
- name: Decompress build step output
79-
run: |
80-
mkdir -p ./dist
81-
tar -xf ./website-build/artifact.tar -C ./dist/ --strip-components=1
82-
83-
- name: Install Dependencies
84-
run: pnpm install
85-
86-
- name: Install Playwright Browsers
87-
run: pnpm exec playwright install --with-deps chromium firefox
88-
89-
- name: Run Playwright tests
90-
run: pnpm test:e2e
91-
92-
- name: Upload Test Results
93-
uses: actions/upload-artifact@v4
94-
if: always()
95-
with:
96-
name: playwright-report
97-
path: playwright-report/
98-
retention-days: 30
99-
10051
deploy:
10152
needs:
10253
- build

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dev": "astro dev",
77
"dev-host": "astro dev --host",
88
"build": "astro build",
9-
"test:e2e": "playwright test",
109
"preview": "astro preview",
1110
"astro": "astro"
1211
},

playwright.config.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/test/header.spec.ts

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/test/index.spec.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/test/search.spec.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

src/test/wiki_article.spec.ts

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)