Skip to content

Commit

Permalink
chore: Update test-generate-files.sh script and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Aug 21, 2024
1 parent 0d64653 commit 93e0431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-generate-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jobs:
- name: Run test-generate-files.sh
run: |
chmod +x tests/test-generate-files.sh
./tests/test-generate-files.sh
cd ./tests/
bash ./test-generate-files.sh
4 changes: 2 additions & 2 deletions tests/test-generate-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 93e0431

Please sign in to comment.