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 396b1ac
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 @@ -89,11 +89,13 @@ 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 $CONTAINER_ID sed -i "s/0\.9/0\.75/" tests/functional/lighthouse/lighthouserc.js
- name: Run tests
env:
CONTAINER_ID: ${{ steps.testing-container-setup.outputs.CONTAINER_ID }}
ROOT_PATH: ${{ steps.testing-container-setup.outputs.ROOT_PATH }}
run: |
# Make theme folder writasble because SASS compilation needs to generate files
docker exec -u root $CONTAINER_ID sudo chmod a+rw -R web/themes/custom/boilerplate_tests_radix/
docker exec -u tester -w $ROOT_PATH/ $CONTAINER_ID /opt/shellspec/shellspec

0 comments on commit 396b1ac

Please sign in to comment.