Skip to content

Commit

Permalink
dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanzante committed Jan 25, 2024
1 parent e3dc767 commit af3e532
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/shellspec/shellspec_spec/lighthouse___spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Describe 'Lighthouse' lighthouse
The status should be success
The output should include "Healthcheck passed!"
The output should include "Done running Lighthouse!"
The output should include "All results processed!"
The path 'reports/lighthouse/_.report.html' should be file
The path 'reports/lighthouse/_.report.json' should be file
The path 'reports/lighthouse/manifest.json' should be file
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
CONTAINER_ID: ${{ steps.testing-container-setup.outputs.CONTAINER_ID }}
ROOT_PATH: ${{ steps.testing-container-setup.outputs.ROOT_PATH }}
run: |
# Make theme folder writable because SASS compilation needs to generate files
docker exec -u tester -w $ROOT_PATH/ $CONTAINER_ID sudo chmod a+rw -R web/themes/custom/boilerplate_tests_radix/
docker exec -u tester -w $ROOT_PATH/ $CONTAINER_ID composer boilerplate:assistant
# Because execute in test environment the performance can vary, so let's
Expand All @@ -89,7 +91,7 @@ jobs:
CONTAINER_ID: ${{ steps.testing-container-setup.outputs.CONTAINER_ID }}
ROOT_PATH: ${{ steps.testing-container-setup.outputs.ROOT_PATH }}
run: |
sed -i "s/0\.9/0\.75/" tests/functional/lighthouse/lighthouserc.js
docker exec -u tester -w $ROOT_PATH/ $CONTAINER_ID sed -i "s/0\.9/0\.75/" tests/functional/lighthouse/lighthouserc.js
- name: Run tests
env:
Expand Down

0 comments on commit af3e532

Please sign in to comment.