2022-10-24 21:51:15 +00:00
|
|
|
name: test
|
|
|
|
|
2022-11-07 13:53:17 +00:00
|
|
|
on: [push, pull_request_target]
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: ["3.7"]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- 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_requirements.txt
|
|
|
|
- name: Run unit tests
|
|
|
|
run: |
|
|
|
|
make tests
|