diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4ca4cf..f74e245 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -245,13 +245,12 @@ jobs: - name: Test build artifacts shell: bash run: | - TEST_EXECUTION_PATH='test/bin/Debug/net8.0/${{ matrix.runtime.name }}' + TEST_EXECUTION_PATH='integration-test/bin/Debug/net8.0/${{ matrix.runtime.name }}' mkdir -p "$TEST_EXECUTION_PATH" - # This now copies qpdf.dll AND all its dependencies into the test folder cp -R output/runtimes/${{ matrix.runtime.name }}/native/* "$TEST_EXECUTION_PATH" - cd test + cd integration-test dotnet build --framework net8.0 --runtime ${{ matrix.runtime.name }} --no-self-contained dotnet run --framework net8.0 --runtime ${{ matrix.runtime.name }} --no-self-contained cd ../ diff --git a/test/.gitignore b/integration-test/.gitignore similarity index 100% rename from test/.gitignore rename to integration-test/.gitignore diff --git a/test/Program.cs b/integration-test/Program.cs similarity index 100% rename from test/Program.cs rename to integration-test/Program.cs diff --git a/test/Project.csproj b/integration-test/Project.csproj similarity index 100% rename from test/Project.csproj rename to integration-test/Project.csproj diff --git a/test/QpdfAPI.cs b/integration-test/QpdfAPI.cs similarity index 100% rename from test/QpdfAPI.cs rename to integration-test/QpdfAPI.cs diff --git a/test/Resources/attachment_job.json b/integration-test/Resources/attachment_job.json similarity index 100% rename from test/Resources/attachment_job.json rename to integration-test/Resources/attachment_job.json diff --git a/test/Resources/file1.txt b/integration-test/Resources/file1.txt similarity index 100% rename from test/Resources/file1.txt rename to integration-test/Resources/file1.txt diff --git a/test/Resources/file2.txt b/integration-test/Resources/file2.txt similarity index 100% rename from test/Resources/file2.txt rename to integration-test/Resources/file2.txt diff --git a/test/Resources/image.png b/integration-test/Resources/image.png similarity index 100% rename from test/Resources/image.png rename to integration-test/Resources/image.png diff --git a/test/Resources/input_normal.pdf b/integration-test/Resources/input_normal.pdf similarity index 100% rename from test/Resources/input_normal.pdf rename to integration-test/Resources/input_normal.pdf diff --git a/test/Resources/input_pdfa_3b.pdf b/integration-test/Resources/input_pdfa_3b.pdf similarity index 100% rename from test/Resources/input_pdfa_3b.pdf rename to integration-test/Resources/input_pdfa_3b.pdf diff --git a/test/Resources/page_selection_job.json b/integration-test/Resources/page_selection_job.json similarity index 100% rename from test/Resources/page_selection_job.json rename to integration-test/Resources/page_selection_job.json diff --git a/test/Resources/password_job.json b/integration-test/Resources/password_job.json similarity index 100% rename from test/Resources/password_job.json rename to integration-test/Resources/password_job.json diff --git a/test/Resources/spreadsheet.xlsx b/integration-test/Resources/spreadsheet.xlsx similarity index 100% rename from test/Resources/spreadsheet.xlsx rename to integration-test/Resources/spreadsheet.xlsx diff --git a/test/Resources/zugfred.xml b/integration-test/Resources/zugfred.xml similarity index 100% rename from test/Resources/zugfred.xml rename to integration-test/Resources/zugfred.xml diff --git a/test/Resources/zugfred_metadata.txt b/integration-test/Resources/zugfred_metadata.txt similarity index 100% rename from test/Resources/zugfred_metadata.txt rename to integration-test/Resources/zugfred_metadata.txt diff --git a/test/global.json b/integration-test/global.json similarity index 100% rename from test/global.json rename to integration-test/global.json