Merge pull request #104 from open-dynamic-robot-initiative/fkloss/ref… #100
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
# Install package via pip and run tests | |
name: Tests (pip install) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install package | |
run: | | |
python -m pip install ".[test]" | |
- name: Run tests | |
run: | | |
python -m pytest tests/ |