dind
This commit is contained in:
parent
45f8b2bfd8
commit
d91e9c4af5
1 changed files with 7 additions and 8 deletions
|
@ -5,25 +5,24 @@ on:
|
|||
|
||||
jobs:
|
||||
unlighthouse:
|
||||
runs-on: docker
|
||||
runs-on: dind
|
||||
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:0.3.0
|
||||
services:
|
||||
website:
|
||||
image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||
ports:
|
||||
- 8081:8081
|
||||
options: >-
|
||||
--health-cmd "curl -sS http://website:8081/ || echo exit 1"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- name: test
|
||||
run: curl -v "http://localhost:8081/"
|
||||
run: curl -v -o - "http://localhost:8081/" || true
|
||||
- name: test
|
||||
run: curl -v -o - "http://website:8081/" || true
|
||||
- name: test
|
||||
run: curl -v -o - "http://website/" || true
|
||||
- name: Run unlighthouse
|
||||
run: unlighthouse-ci --site "http://localhost:8081/" --disable-dynamic-sampling
|
||||
run: unlighthouse-ci --site "http://website:8081/" --disable-dynamic-sampling
|
||||
- name: Prepare artifacts
|
||||
run: cp serve.json unlighthouse-reports
|
||||
- name: Upload reports
|
||||
|
|
Loading…
Reference in a new issue