Skip to content

Commit

Permalink
fix(ci): fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed May 20, 2023
1 parent 058a9a9 commit 2c58fa6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Setup xvfb (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y xvfb g++-multilib
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Prepare python3.10
Expand Down
1 change: 1 addition & 0 deletions build/webpack.tests.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const entryFilePath = tempDir.path("testsInit.js");

const testsImports = testsDir
.find({ matching: process.env.TEST ? `${process.env.TEST}.test.js` : "*.test.js" })
.filter(test => (process.env.ALL || !test.includes('optional')))
.reduce((fileContent, path) => {
const normalizedPath = path.replace(/\\/g, "/");
return `${fileContent}require("../tests/${normalizedPath}");\n`;
Expand Down
File renamed without changes.

0 comments on commit 2c58fa6

Please # to comment.