MP Support & Regression Test #16
Workflow file for this run
This file contains hidden or 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: Pytest Check | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install R and system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y r-base r-base-dev libtirpc-dev | |
| - name: Install R packages | |
| run: | | |
| sudo R -e "install.packages(c('lme4', 'lmerTest'), repos='https://cloud.r-project.org')" | |
| - name: Define a cache dependency glob | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Run tests | |
| run: | | |
| source .venv/bin/activate | |
| pytest |