maybe do this?

This commit is contained in:
vapormusic 2022-02-01 23:41:46 +07:00
parent 66e985df7b
commit 7268a386d0
2 changed files with 2 additions and 3 deletions

View file

@ -33,12 +33,11 @@ jobs:
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y wine32 sudo apt-get install -y wine32
sudo apt-get install -y xvfb
- store_test_results: - store_test_results:
path: test-results path: test-results
- run: - run:
name: Base Functionality Test name: Base Functionality Test
command: yarn test command: xvfb-run --auto-servernum npm run test
- run: - run:
name: Generate Builds (Linux) name: Generate Builds (Linux)
command: yarn dist -l -p never command: yarn dist -l -p never

View file

@ -17,7 +17,7 @@ test("Launch electron app", async () => {
console.log(fs.readdirSync(paths.main)) console.log(fs.readdirSync(paths.main))
const electronApp = await electron.launch({ args: ['--enable-logging','--no-sandbox','build/index.js'], cwd: paths.root }); const electronApp = await electron.launch({ args: ['build/index.js'], cwd: paths.root });
const appPath = await electronApp.evaluate(async ({ app }) => { const appPath = await electronApp.evaluate(async ({ app }) => {
// This runs in the main Electron process, parameter here is always // This runs in the main Electron process, parameter here is always