🔟 Force python 3.10. #72
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: Unit Testing | |
on: [push] | |
jobs: | |
unit-test: | |
name: 🧪 Unit Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔔 Check out | |
uses: actions/checkout@v3 | |
- name: 🏗️ python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: ⬇️ Python PDM | |
uses: pdm-project/setup-pdm@v3 | |
- name: ⬇️ Python Dependencies | |
run: pdm install -G:all | |
- name: 🚂 Activate environment | |
run: echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH | |
- name: 🏃 pytest | |
run: pytest -xv | |
# - name: 🏃 pytest | |
# run: coverage run -m pytest -v | |
# - name: 📊 coverage | |
# run: coverage report -m |