Skip to content

Avoid extra calls to hy.as-model in map-model #250

Avoid extra calls to hy.as-model in map-model

Avoid extra calls to hy.as-model in map-model #250

Workflow file for this run

name: Run tests
on: [pull_request, push]
jobs:
test:
strategy:
fail-fast: false
matrix:
python: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13-dev, pypy-3.10]
name: ${{ matrix.python }}
runs-on: ubuntu-latest
env:
TERM: xterm-256color
# This is needed to avoid a terminfo-related crash when
# testing PyPy.
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
# Install dependencies. Test on Hy `master`, not the latest Hy
# release.
- run: pip install pytest setuptools wheel git+https://github.com/hylang/hy@master
# Be sure we're testing the installed version, instead of running
# from the source tree. Use `--no-build-isolation` to ensure
# Hy `master` is used to compile the bytecode.
- run: pip install . --no-build-isolation && rm -r hyrule
# Now we can run the tests.
- run: pytest