Skip to content

Commit

Permalink
Fix Registrations tests in CI (#42)
Browse files Browse the repository at this point in the history
I don’t love the sleep but it works!

Sadly danschultzer/premailex#83 did not.
  • Loading branch information
backspace authored Jun 29, 2024
1 parent 10d009b commit 7137c10
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-registrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ jobs:
export DISPLAY=:99
chromedriver &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
- name: Wait for Chromedriver
run: sleep 30s
shell: bash

- run: mix test
working-directory: registrations
- name: Publish test results
Expand Down
23 changes: 23 additions & 0 deletions registrations/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions registrations/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"optimize-css-assets-webpack-plugin": "^5.0.1",
"sass-cubic-bezier-bounding-box": "^1.0.2",
"sass-loader": "^8.0.2",
"string-replace-loader": "^3.1.0",
"terser-webpack-plugin": "^2.3.2",
"three": "^0.77.1",
"webpack": "^4.41.5",
Expand Down
8 changes: 8 additions & 0 deletions registrations/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ module.exports = (env, options) => {
use: [
MiniCssExtractPlugin.loader,
"css-loader",
{
loader: "string-replace-loader",
options: {
search: '@charset "UTF-8";',
replace: "",
flags: "g",
},
},
{
loader: "sass-loader",
options: {
Expand Down

0 comments on commit 7137c10

Please sign in to comment.