| .github/workflows/peformance.yml | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithImage/budget.desktop.json | patch | view | raw | blame | history | |
| tests/exampleSiteWithImage/budget.mobile.json | patch | view | raw | blame | history | |
| tests/exampleSiteWithImage/docker-compose.desktop.yml | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithImage/docker-compose.mobile.yml | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithImage/urls.txt | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithVideo/budget.desktop.json | patch | view | raw | blame | history | |
| tests/exampleSiteWithVideo/budget.mobile.json | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithVideo/docker-compose.desktop.yml | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithVideo/docker-compose.mobile.yml | ●●●●● patch | view | raw | blame | history | |
| tests/exampleSiteWithVideo/urls.txt | ●●●●● patch | view | raw | blame | history |
.github/workflows/peformance.yml
@@ -44,22 +44,46 @@ - name: Check out repository uses: actions/checkout@v4 - name: Run sitespeed.io for example site with image - name: Run sitespeed.io for example site with image in desktop mode run: | docker compose --file tests/exampleSiteWithImage/docker-compose.yml up --exit-code-from sitespeed rm --recursive --force tests/exampleSiteWithImage/sitespeed-result docker compose --file tests/exampleSiteWithImage/docker-compose.desktop.yml up --exit-code-from sitespeed - name: Upload sitespeed.io result for example site with image - name: Upload sitespeed.io result for example site with image in desktop mode uses: actions/upload-artifact@v4 with: name: sitespeed.io-example-site-with-image name: sitespeed.io-example-site-with-image-desktop path: tests/exampleSiteWithImage/sitespeed-result - name: Run sitespeed.io for example site with video - name: Run sitespeed.io for example site with image in mobile mode run: | docker compose --file tests/exampleSiteWithVideo/docker-compose.yml up --exit-code-from sitespeed rm --recursive --force tests/exampleSiteWithImage/sitespeed-result docker compose --file tests/exampleSiteWithImage/docker-compose.mobile.yml up --exit-code-from sitespeed - name: Upload sitespeed.io result for example site with video - name: Upload sitespeed.io result for example site with image in mobile mode uses: actions/upload-artifact@v4 with: name: sitespeed.io-example-site-with-video name: sitespeed.io-example-site-with-image-mobile path: tests/exampleSiteWithImage/sitespeed-result - name: Run sitespeed.io for example site with video in desktop mode run: | rm --recursive --force tests/exampleSiteWithVideo/sitespeed-result docker compose --file tests/exampleSiteWithVideo/docker-compose.desktop.yml up --exit-code-from sitespeed - name: Upload sitespeed.io result for example site with video in desktop mode uses: actions/upload-artifact@v4 with: name: sitespeed.io-example-site-with-video-desktop path: tests/exampleSiteWithVideo/sitespeed-result - name: Run sitespeed.io for example site with video in mobile mode run: | rm --recursive --force tests/exampleSiteWithVideo/sitespeed-result docker compose --file tests/exampleSiteWithVideo/docker-compose.mobile.yml up --exit-code-from sitespeed - name: Upload sitespeed.io result for example site with video in mobile mode uses: actions/upload-artifact@v4 with: name: sitespeed.io-example-site-with-video-mobile path: tests/exampleSiteWithVideo/sitespeed-result tests/exampleSiteWithImage/budget.desktop.json
tests/exampleSiteWithImage/budget.mobile.jsoncopy from tests/exampleSiteWithImage/budget.json copy to tests/exampleSiteWithImage/budget.mobile.json
tests/exampleSiteWithImage/docker-compose.desktop.yml
File was renamed from tests/exampleSiteWithImage/docker-compose.yml @@ -17,4 +17,4 @@ target: /sitespeed.io depends_on: - hugo command: ["http://hugo:1313/index.html", "--budget.configPath=budget.json"] command: ["--budget.configPath=budget.desktop.json", "urls.txt"] tests/exampleSiteWithImage/docker-compose.mobile.ymlcopy from tests/exampleSiteWithImage/docker-compose.yml copy to tests/exampleSiteWithImage/docker-compose.mobile.yml
File was copied from tests/exampleSiteWithImage/docker-compose.yml @@ -17,4 +17,4 @@ target: /sitespeed.io depends_on: - hugo command: ["http://hugo:1313/index.html", "--budget.configPath=budget.json"] command: ["--budget.configPath=budget.mobile.json", "--mobile", "urls.txt"] tests/exampleSiteWithImage/urls.txt
New file @@ -0,0 +1,4 @@ http://hugo:1313/index.html http://hugo:1313/ipsum-in.html http://hugo:1313/luctus-urna.html http://hugo:1313/purus-sem.html tests/exampleSiteWithVideo/budget.desktop.json
tests/exampleSiteWithVideo/budget.mobile.json
New file @@ -0,0 +1,18 @@ { "budget": { "requests": { "total": 9 }, "transferSize": { "total": 2048000 }, "thirdParty": { "requests": 4 }, "score": { "bestpractice": 93, "privacy": 72, "performance": 82 } } } tests/exampleSiteWithVideo/docker-compose.desktop.yml
File was renamed from tests/exampleSiteWithVideo/docker-compose.yml @@ -17,4 +17,4 @@ target: /sitespeed.io depends_on: - hugo command: ["http://hugo:1313/index.html", "--budget.configPath=budget.json"] command: ["--budget.configPath=budget.desktop.json", "urls.txt"] tests/exampleSiteWithVideo/docker-compose.mobile.ymlcopy from tests/exampleSiteWithVideo/docker-compose.yml copy to tests/exampleSiteWithVideo/docker-compose.mobile.yml
File was copied from tests/exampleSiteWithVideo/docker-compose.yml @@ -17,4 +17,4 @@ target: /sitespeed.io depends_on: - hugo command: ["http://hugo:1313/index.html", "--budget.configPath=budget.json"] command: ["--budget.configPath=budget.mobile.json", "--mobile", "urls.txt"] tests/exampleSiteWithVideo/urls.txt
New file @@ -0,0 +1,4 @@ http://hugo:1313/index.html http://hugo:1313/ipsum-in.html http://hugo:1313/luctus-urna.html http://hugo:1313/purus-sem.html