Merge pull request #19 from atumm-ra/update-buti #69
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: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
STAGE: test | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install PDM | |
run: | | |
python -m pip install pdm | |
- name: Install dependencies | |
run: | | |
pdm sync -d | |
- name: Run Tests | |
run: | | |
pdm run pytest -cov --cov-report html |