v2-lib: show a bit more helpful messages #137
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 Tests | |
on: | |
pull_request: | |
paths: | |
- "library/**" | |
jobs: | |
run-unit-test: | |
name: Run Unit Tests | |
runs-on: ubuntu-latest | |
container: python:3.11-slim | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apt update | |
apt install -y \ | |
python3-bcrypt \ | |
python3-pytest \ | |
python3-pytest-mock | |
- name: Run Tests | |
run: | | |
pytest library |