123456789101112131415161718192021222324252627282930313233343536373839 |
- name: plugins
- on:
- push:
- branches:
- - master
- - releases/**
- pull_request:
- jobs:
- test:
- name: plugins test
- runs-on: ubuntu-18.04
- timeout-minutes: 10
- strategy:
- matrix:
- python-version: [3.8.12]
- steps:
- - uses: actions/checkout@v2
- - name: Check for python file changes
- uses: getsentry/paths-filter@v2
- id: changes
- with:
- token: ${{ github.token }}
- filters: .github/file-filters.yml
- - name: Setup sentry env (python ${{ matrix.python-version }})
- uses: ./.github/actions/setup-sentry
- id: setup
- if: steps.changes.outputs.plugins == 'true'
- with:
- python-version: ${{ matrix.python-version }}
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
- snuba: true
- - name: Run test
- if: steps.changes.outputs.plugins == 'true'
- run: |
- make test-plugins
|