Skip to content

Commit

Permalink
Add simple performance tests (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Nov 8, 2023
1 parent 3f600c8 commit 80628ca
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Performance Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
performance-tests:
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm

- name: Install dependencies
run: npm ci

- name: Build plugin
run: npm run build

- name: Run performance tests
uses: swissspidy/wp-performance-action@main
with:
plugins: |
./
urls: |
/
/sample-page/

0 comments on commit 80628ca

Please sign in to comment.