Skip to content

Merge pull request #20 from trendmicro/fix/tmv1_activity_query #69

Merge pull request #20 from trendmicro/fix/tmv1_activity_query

Merge pull request #20 from trendmicro/fix/tmv1_activity_query #69

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.7", "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.7", "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