Materials-Consortia / optimade-validator-action

GitHub Actions action to validate OPTIMADE implementations using the validator from Materials-Consortia/optimade-python-tools
MIT License
6 stars 1 forks source link

Use the BATS GitHub action #165

Closed CasperWA closed 2 weeks ago

CasperWA commented 2 weeks ago

Fixes #164 by using the BATS GitHub Actions to run BATS in the CI.

Testing it locally, the same issue will arise due to the test image used for BATS runs with Python 3.9. So either this testing possibility should be removed, or the image should either be updated to use a newer alpine version or be completely rewritten - something that should not be too hard. One could, e.g., base it on the BATS GitHub action composite action that expects a Linux environment and then goes to town.

Copilot summary

This pull request includes several changes to the CI workflow, Docker setup, and test configurations. The main focus is on improving the setup and execution of BATS tests and ensuring compatibility with the CI environment.

CI Workflow Improvements:

Dockerfile Adjustments:

Entrypoint Script Changes:

Test Configuration Updates: