Merge pull request #23 from OpenAssetIO/work/OpenAssetIO/1311-removeD… #50
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: | |
branches: [main] | |
paths-ignore: | |
- "*.md" | |
- "*.in" | |
- "*.txt" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "*.md" | |
- "*.in" | |
- "*.txt" | |
jobs: | |
test: | |
env: | |
plugin_name: "otio_openassetio" | |
name: Test | |
strategy: | |
matrix: | |
python-version: [3.9] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Plugin | |
run: pip install -e .[dev] | |
- name: Lint with flake8 | |
run: flake8 --show-source --statistics otio_openassetio tests | |
- name: Test with pytest | |
run: pytest tests | |
shell: bash |