You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The effect is that, when a PR is made in this repo, the CI tests run with the pinned version, not the code in the PR. This seems problematic. Further, the tests in runner are not run in CI I think.
If, as I suspect, this is not desired behavior, I think three fixes are needed.
Make gleam.toml in tests/** use the local exercism_test_runner package by specifying the relative path.
Making the test-in-docker.sh script mount directories such that the local exercism_test_runner is available in docker.
Adding the runner tests to the GitHub Actions CI workflows.
If somebody confirms the above I'm happy to work on it.
The text was updated successfully, but these errors were encountered:
Previously the tests had a hard-coded version of `exercism_test_runner`.
This is not ideal because the CI tests are not actually testing the
code in the repo---it is instead testing a previous version.
There are a few pieces to this changeset.
1) The `exercism_test_runner` path is made local and relative
in all of the `gleam.toml` files in the `tests` directory.
2) The `gleam_stdlib` versions are updated in those `gleam.toml`
files to be consistent with the version used by the local
`exercism_test_runner`.
3) An extra mount point is added in the Docker command that
runs the tests so that the tests have access to the local
version of `exercism_test_runner`.
Notice that the tests in
tests
using a pinned version of this package, e.g. https://github.com/exercism/gleam-test-runner/blob/52841faf69669bebd90c948a4b79398c36a082d4/tests/all_fail/gleam.toml and 356d594.The effect is that, when a PR is made in this repo, the CI tests run with the pinned version, not the code in the PR. This seems problematic. Further, the tests in
runner
are not run in CI I think.If, as I suspect, this is not desired behavior, I think three fixes are needed.
gleam.toml
intests/**
use the localexercism_test_runner
package by specifying the relative path.exercism_test_runner
is available in docker.runner
tests to the GitHub Actions CI workflows.If somebody confirms the above I'm happy to work on it.
The text was updated successfully, but these errors were encountered: