Build config option to enable builds of "leaf-node" models in jedi-bundle. #85
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: Python Tests | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Create venv | |
| run: | | |
| python -m venv venv | |
| source venv/bin/activate | |
| echo "VIRTUAL_ENV=${VIRTUAL_ENV}" >> $GITHUB_ENV | |
| - name: Install package | |
| run: | | |
| source ${VIRTUAL_ENV}/bin/activate | |
| python -m pip install --upgrade pip | |
| pip install -e .[test] | |
| - name: Run pytest | |
| run: | | |
| source ${VIRTUAL_ENV}/bin/activate | |
| pytest -v |