Skip to content

Merge pull request #54 from Meituan-Dianping/dependabot/npm_and_yarn/… #179

Merge pull request #54 from Meituan-Dianping/dependabot/npm_and_yarn/…

Merge pull request #54 from Meituan-Dianping/dependabot/npm_and_yarn/… #179

Workflow file for this run

name: Unit Test
on: [push, pull_request]
jobs:
unittest:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Unit Test
run: |
cd tests
python -m pytest .