Skip to content

Set versioning for the new release #248

Set versioning for the new release

Set versioning for the new release #248

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