Support of user defined functions #100
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 | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- '*' | |
jobs: | |
built_in_tests: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout myfunc Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: 'smallbunnies/myfunc' | |
ref: 'main' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- run: | | |
pip install -e . | |
- name: Return to original repo | |
uses: actions/checkout@v3 | |
with: | |
python-version: '3.11' | |
cache: 'pip' # caching pip dependencies | |
- run: | | |
pip install -e . | |
- run: | # run both independent pytest and doctest | |
pytest |