3This is a collection of scripts that I use for a DIY continuous integration system for my repos.
5Within a bare repo, it's enough to call the
`run_post_receive_checks.sh` wrapper, for example:
13bash ~/repos/scripts/ci/run_post_receive_checks.sh chives
16## The individual scripts
20# This adds the root of the repo to the PATH, which has cog_helpers.py
21from os.path import abspath, dirname
24sys.path.append(abspath(dirname(dirname("."))))
32 "usage": "run_post_receive_checks.sh [REPO_NAME]",
34 run the post-receive checks for a repo, dumping the output to a file
38 "usage": "post_receive_tests.sh [REPO_NAME]",
40 run the tests for a repo, printing output to stdout/stderr
46 find the
`run_{name}_tests.sh` script in a repo and run it
51cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
56 <a href="https://github.com/alexwlchan/scripts/blob/main/ci/run_post_receive_checks.sh">
57 <code>run_post_receive_checks.sh [REPO_NAME]</code>
61 run the post-receive checks for a repo, dumping the output to a file
65 <a href="https://github.com/alexwlchan/scripts/blob/main/ci/post_receive_tests.sh">
66 <code>post_receive_tests.sh [REPO_NAME]</code>
70 run the tests for a repo, printing output to stdout/stderr
74 <a href="https://github.com/alexwlchan/scripts/blob/main/ci/ts">
79 find the
`run_{name}_tests.sh` script in a repo and run it
82<!-- [[[end]]] (sum: MvYcRvOIeM) -->