Make assoc
into a function
#211
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, pypy-3.9] | |
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 |