v2 lib #13
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: 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 python3-pytest python3-pytest-mock -y | |
- name: Run Tests | |
run: | | |
pytest library |