Skip to content

Merge pull request #164 from stfc/f01adependabot/github_actions/azure… #88

Merge pull request #164 from stfc/f01adependabot/github_actions/azure…

Merge pull request #164 from stfc/f01adependabot/github_actions/azure… #88

name: AQ Zombie Finder Unittest
on:
push:
branches:
- master
pull_request:
paths:
- "aq_zombie_finder/**"
- ".github/workflows/aq_zombie_finder.yaml"
jobs:
test_with_unit_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r aq_zombie_finder/requirements.txt
- name: Test with unittest
run: |
cd aq_zombie_finder && python3 -m unittest discover -s ./test -p "test_*.py"