Skip to content

Merge pull request #28 from trendmicro/fix/mypy_error #101

Merge pull request #28 from trendmicro/fix/mypy_error

Merge pull request #28 from trendmicro/fix/mypy_error #101

Workflow file for this run

name: test
on:
push:
branches: [main, develop]
pull_request:
branches: [develop]
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run pytest
run: pytest --log-cli-level="DEBUG" --verbose ./tests/unit
integration:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run pytest
run: pytest --mock-url="${{ secrets.MOCK_URL }}" --log-cli-level="DEBUG" --verbose ./tests/integration