File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 46
46
echo "APP_KEY=$(php artisan key:generate --show)" > .env
47
47
echo "APP_ENV=testing" >> .env
48
48
echo "DB_CONNECTION=sqlite" >> .env
49
+ echo "LIBREOFFICE_PATH=/usr/bin/soffice" >> .env
49
50
50
51
# Step 8: Run Unit tests
51
52
- name : Run Unit tests
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ protected function getEnvironmentSetUp($app): void
33
33
$ app ['config ' ]->set ('doxswap.input_disk ' , 'local ' );
34
34
$ app ['config ' ]->set ('doxswap.output_disk ' , 'local ' );
35
35
$ app ['config ' ]->set ('doxswap.cleanup_strategy ' , 'none ' );
36
- $ app ['config ' ]->set ('doxswap.drivers.libreoffice_path ' , '/Applications/LibreOffice.app/Contents/MacOS/soffice ' );
37
- //$app['config']->set('doxswap.drivers.libreoffice_path', '/usr/bin/soffice');
38
- $ app ['config ' ]->set ('doxswap.drivers.pandoc_path ' , '/usr/bin/pandoc ' );
36
+ $ app ['config ' ]->set ('doxswap.drivers.libreoffice_path ' , env ('LIBREOFFICE_PATH ' , '/Applications/LibreOffice.app/Contents/MacOS/soffice ' ));
37
+ $ app ['config ' ]->set ('doxswap.drivers.pandoc_path ' , env ('PANDOC_PATH ' , '/usr/bin/pandoc ' ));
39
38
}
40
39
}
You can’t perform that action at this time.
0 commit comments