From 9dc6a459029bddc2744ac07d0130031b627a9373 Mon Sep 17 00:00:00 2001 From: Alexandre Plateau Date: Sat, 25 Jan 2025 19:17:15 +0100 Subject: [PATCH] feat(ci, tests): adding a CI job to run the repl tests --- .github/workflows/ci.yml | 10 ++++++++++ tests/repl/requirements.txt | 1 + 2 files changed, 11 insertions(+) create mode 100644 tests/repl/requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07902e91..d5df3c07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -246,6 +246,16 @@ jobs: chmod u+x ./lib/modules/.github/run-tests (./lib/modules/.github/run-tests src) + - uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: REPL tests + shell: bash + run: | + pip install -r tests/repl/requirements.txt + python3 tests/repl/test.py + fuzzing: runs-on: ubuntu-24.04 name: Fuzz testing diff --git a/tests/repl/requirements.txt b/tests/repl/requirements.txt new file mode 100644 index 00000000..808fb07a --- /dev/null +++ b/tests/repl/requirements.txt @@ -0,0 +1 @@ +pexpect