fix walk() issue with py <= 3.11 #8
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 | |
# run when src or tests change | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'tests/**' | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11, 3.12] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version of rye | |
uses: eifinger/setup-rye@v4 | |
- name: Rye pin python version to ${{ matrix.python-version }} | |
run: | | |
rye pin ${{ matrix.python-version }} --no-update-requires-python | |
# Install dependencies | |
- name: Install dependencies | |
run: | | |
rye sync | |
# Run tests | |
- name: Run tests | |
run: | | |
rye test |