Skip to content

Commit

Permalink
gcs: run github action test against GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 27, 2024
1 parent c15ace1 commit 579e5c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
# firefox-version: '94.0'
- name: Setup environment
run: docker compose -f test/docker-compose.yml up -d
- name: Create test bucket
run: docker exec fake-gcs /bin/fake-gcs-server create-bucket sitespeed
- name: Browser versions
run: |
google-chrome --version
Expand Down Expand Up @@ -77,4 +79,6 @@ jobs:
- name: Run Chrome test with config
run: node bin/sitespeed.js --config test/exampleConfig.json http://127.0.0.1:3001/simple/ --xvfb
- name: Run Chrome test using compare plugin
run: node bin/sitespeed.js --compare.id compare --compare.saveBaseline --compare.baselinePath test/ http://127.0.0.1:3001/simple/ --xvfb
run: node bin/sitespeed.js --compare.id compare --compare.saveBaseline --compare.baselinePath test/ http://127.0.0.1:3001/simple/ --xvfb
- name: Run Chrome test sending data to GCS
run: node bin/sitespeed.js http://127.0.0.1:3001/simple/ --xvfb -n 1 --gcs.bucketname sitespeed --gcs.apiEndpoint http://127.0.0.1:4443
7 changes: 6 additions & 1 deletion test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ services:
image: sitespeedio/graphite:1.1.5-12
ports:
- "2003:2003"
- "8080:80"
- "8080:80"
gcs:
image: fsouza/fake-gcs-server:1.50
ports:
- "4443:4443"
container_name: fake-gcs
influxdb_v1.8:
image: influxdb:1.8
ports:
Expand Down

0 comments on commit 579e5c4

Please sign in to comment.