Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,37 @@ jobs:
include-hidden-files: true
if-no-files-found: error

# Neither Tox nor Poetry have any real support for GraalPy right now, so we're
# just installing using GraalPy's pip and running PyTest manually in the runner.
run-graalpy-tests:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
version: ['3.11']
include:
- version: '3.11'
graalpy-version: '24.1.0'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: graalpy-${{ matrix.graalpy-version }}
- name: Cache dependencies
id: cache-deps
uses: actions/cache@v4
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-graalpy-${{ matrix.version }}-pip-${{ hashFiles('.github/workflows/run-tests.yml', 'pyproject.toml', 'tox.ini') }}
- name: Install Basilisp
run: |
pip install -U pip
pip install . "pytest>=7.0.0,<9.0.0" "pygments"
- name: Run tests
run: |
pytest --import-mode=importlib

run-pypy-tests:
runs-on: ${{matrix.os}}
strategy:
Expand Down
Loading