build(ruff): Ignore and exclude ruff_cache dir #13
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: Acceptance tests | |
on: | |
push: | |
branches: [master,debug] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9.19, 3.10.14, 3.11.9, 3.12.4] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --user pdm | |
pdm install | |
- name: Start test environment | |
run: | | |
pdm testenv & | |
echo "Waiting for test server to become available..." | |
curl --retry 5 --retry-connrefused --retry-delay 5 http://localhost:8273 | |
- name: Run acceptance tests | |
run: pdm atest |