Skip to content

Commit

Permalink
feat(ci, tests): adding a CI job to run the repl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Jan 25, 2025
1 parent 741bbec commit f6ba41f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/repl/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pexpect
2 changes: 1 addition & 1 deletion tests/repl/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def get_repl():
executable = None
for p in ["./arkscript", "cmake-build-debug/arkscript", "build/arkscript"]:
for p in ["./arkscript", "cmake-build-debug/arkscript", "build/arkscript", "build/arkscript.exe"]:
if os.path.exists(p):
executable = p
break
Expand Down

0 comments on commit f6ba41f

Please sign in to comment.