Support of user defined functions #97
Workflow file for this run
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: Run tests in cookbook | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- '*' | |
jobs: | |
tests_in_cookbook: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Test Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: 'rzyu45/Solverz-Cookbook' | |
ref: 'main' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' # caching pip dependencies | |
- name: Install Main Repository as Dependency using Git URL | |
run: | | |
pip install --upgrade pip setuptools wheel | |
pip install git+https://github.com/${{github.repository}}.git@${{ github.sha }} | |
pip install pytest-xdist | |
- name: Run Tests | |
run: | | |
pytest -n auto |