diff --git a/.github/workflows/test-generate-files.yml b/.github/workflows/test-generate-files.yml index 9a66d48..319ac18 100644 --- a/.github/workflows/test-generate-files.yml +++ b/.github/workflows/test-generate-files.yml @@ -25,4 +25,5 @@ jobs: - name: Run test-generate-files.sh run: | chmod +x tests/test-generate-files.sh - ./tests/test-generate-files.sh \ No newline at end of file + cd ./tests/ + bash ./test-generate-files.sh \ No newline at end of file diff --git a/tests/test-generate-files.sh b/tests/test-generate-files.sh index 5ed4614..90c031f 100755 --- a/tests/test-generate-files.sh +++ b/tests/test-generate-files.sh @@ -29,8 +29,8 @@ teardown() { @test "Check if the script processes the default configuration file" { run bash ../generate-files.sh [ "$status" -eq 0 ] - [ -f "../out/gpt-schema.default.yml" ] - [ -f "../out/gpt-instructions.default.md" ] + [ -f "../out/default.gpt-schema.yml" ] + [ -f "../out/default.gpt-instructions.md" ] } @test "Check if warnings are displayed for missing variables in dist file" {