ci: Bump Actions Versions #47
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: | |
branches-ignore: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install OctoPrint | |
run: pip install OctoPrint | |
- name: Print Version | |
run: python setup.py --version | |
- name: Install test dependencies | |
run: pip install .[test] | |
- name: Run pytest | |
run: pytest -v |