bombsquad-plugin-manager/.github/workflows/test.yml
2022-08-31 06:30:07 +05:30

27 lines
589 B
YAML

name: Tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r test/pip_reqs.txt
- name: Execute Tests
run: |
python -m unittest discover -v