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

CN: Tidy up run-cn.sh #449

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

dc-mak
Copy link
Contributor

@dc-mak dc-mak commented Jul 30, 2024

#394 added subcommands, but the CN CI test script (tests/cn/run-cn.sh) didn't have set -e. As such, multiple errors went unnoticed such as the a bad find command and a cn: unknown command error.

d9ab081 fixed the first error, and this commit is fixing the second one.

There were two tests which tested for sequencing behaviour which was
present previously but is now absent, and one test for a bug. These
cases fit better in the cn-tutorial repo and so have been moved there.
@dc-mak dc-mak force-pushed the strengthen-cn-test-script branch from 49253c0 to 221b340 Compare July 30, 2024 15:54
The priniting is now in line with other CI test scripts, and run through
shellcheck to check for mistakes. An oddity is that the failing tests
could reflect either exit code 1 or 2, and passing arrays in bash is a
bit tricky, but this all seems to work.
@dc-mak dc-mak force-pushed the strengthen-cn-test-script branch from d9dc5ff to 612f425 Compare July 30, 2024 20:41
@dc-mak dc-mak changed the title CN: Tidy up tests & re-enable lemmata CI CN: Tidy up run-cn.sh Jul 30, 2024
@dc-mak dc-mak merged commit 752b1ef into rems-project:master Jul 30, 2024
1 check passed
@dc-mak dc-mak deleted the strengthen-cn-test-script branch July 30, 2024 21:00
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