Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kauffinger committed Dec 18, 2024
1 parent 3a07dd8 commit 33fcd24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@ jobs:
# for windows releases. Defaults to "static"
linking-type: static

- name: venv setup
run: ./setup-python-env.sh

- name: Execute tests
run: vendor/bin/pest --ci
11 changes: 0 additions & 11 deletions tests/MarkitdownTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

declare(strict_types=1);

use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Config;
use Innobrain\Markitdown\Commands\InstallCommand;
use Innobrain\Markitdown\Exceptions\MarkitdownException;
use Innobrain\Markitdown\Facades\Markitdown;

Expand All @@ -15,9 +13,6 @@

it('can execute markitdown with different venv configs', function (bool $useVenv): void {
Config::set('markitdown.use_venv_package', $useVenv);
if ($useVenv) {
Artisan::call(InstallCommand::class);
}

$conv = Markitdown::convert(__DIR__.'/Stubs/Take Notes.docx');

Expand All @@ -26,9 +21,6 @@

it('can convert excel with different venv configs', function (bool $useVenv): void {
Config::set('markitdown.use_venv_package', $useVenv);
if ($useVenv) {
Artisan::call(InstallCommand::class);
}

$conv = Markitdown::convert(__DIR__.'/Stubs/Make a List1.xlsx');

Expand All @@ -37,9 +29,6 @@

it('can convert from string with different venv configs', function (bool $useVenv): void {
Config::set('markitdown.use_venv_package', $useVenv);
if ($useVenv) {
Artisan::call(InstallCommand::class);
}

$conv = Markitdown::convertFile(file_get_contents(__DIR__.'/Stubs/Take Notes.docx'), '.docx');

Expand Down

0 comments on commit 33fcd24

Please sign in to comment.