docs: add content to the project readme #2
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: Run pytest on mudpod and experiments 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 && pdm install -G test | |
- name: Run test suite | |
run: | | |
pdm run pytest -v --maxfail 2 tests | |
timeout-minutes: 10 |