Skip to content

Update unit_test.yml #7

Update unit_test.yml

Update unit_test.yml #7

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
branches:
- main
- dev
push:
branches:
- safe_pr
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8.12']
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install requests_cache>=1.0
- name: Run Unit Tests
run: |
python -m unittest discover -s tests