Reworks workflows into script (#661)

* Reworks some workflows to run a script instead

Advantages are:
- Only one set of tests needs maintenance.
- Local results match workflows, no surprises.
- Reduced reliance on GitHub actions.

Fixes #50, #168, #169, #171, #507

* Adds macos to the test matrix
This commit is contained in:
kaczmarczyck
2023-11-08 17:24:15 +01:00
committed by GitHub
parent 3a5adfc5af
commit e5ba9db644
30 changed files with 130 additions and 745 deletions

View File

@@ -17,6 +17,7 @@
export TERM=${TERM:-vt100}
done_text="$(tput bold)DONE.$(tput sgr0)"
PY_VENV_NAME=py_virtual_env
PYTHON="$PY_VENV_NAME"/bin/python
PIP="$PY_VENV_NAME"/bin/pip
set -e
@@ -34,6 +35,7 @@ check_command () {
}
check_command rustup " Follow the steps under https://rustup.rs/ to install it."
python3 -m venv "$PY_VENV_NAME"
"$PYTHON" -m pip install --upgrade pip setuptools wheel
check_command "$PIP"
# Ensure we have certificates, keys, etc. so that the tests can run