Merge pull request #118 from FullStackWithLawrence/dependabot/pip/req… #822
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: | |
push: | |
jobs: | |
tests: | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r ./requirements/local.txt | |
- name: secure_logger Unit tests | |
run: | | |
export PYTHONPATH=$PYTHONPATH:$(pwd) | |
python -m unittest discover -s secure_logger/tests/ | |
- name: setup.py tests | |
run: | | |
export PYTHONPATH=$PYTHONPATH:$(pwd) | |
python -m unittest setup_test |