update docs #15
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: Unit and integration tests | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
test-itwinai: | |
name: Test itwinai with pytest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install plugin dependencies | |
shell: bash -l {0} | |
run: | | |
python -m venv .venv && | |
source .venv/bin/activate && | |
.venv/bin/pip install . | |
- name: Run tests with pytest | |
shell: bash -l {0} | |
run: .venv/bin/pytest -v tests/ |