Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a shell script to run tests #2

Merged
merged 3 commits into from
Oct 14, 2024
Merged

Conversation

Halbaroth
Copy link
Collaborator

@Halbaroth Halbaroth commented Oct 11, 2024

This PR fixes tests and add a shell script run_test.sh to run them easily. I managed to run 69/71 tests successfully with PostgreSQL.
To run tests, you need:

  • dotnet SDK 6.0.X
  • PostgreSQL server
  • GNU COBOL

The script compiles the project in a subdir and use it to run tests.

@Halbaroth Halbaroth changed the title Fix tests Add a shell script to run tests Oct 14, 2024
@Halbaroth Halbaroth marked this pull request as draft October 14, 2024 13:22
Now the `run_test` script uses environment variables from the flake.
@Halbaroth Halbaroth marked this pull request as ready for review October 14, 2024 14:39
@Halbaroth Halbaroth merged commit b622271 into OCamlPro:main Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant