docs: add arxiv budge #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
# Run only fast tests. | |
name: Tests | |
on: push | |
jobs: | |
test_workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install pdm | |
run: | | |
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pdm install -G test | |
- name: Run test suite | |
run: | | |
pdm run pytest -v --maxfail 2 tests | |
timeout-minutes: 10 |