plugins-test.yml 942 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: plugins
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - releases/**
  7. pull_request:
  8. jobs:
  9. test:
  10. name: plugins test
  11. runs-on: ubuntu-18.04
  12. timeout-minutes: 10
  13. strategy:
  14. matrix:
  15. python-version: [3.8.12]
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Check for python file changes
  19. uses: getsentry/paths-filter@v2
  20. id: changes
  21. with:
  22. token: ${{ github.token }}
  23. filters: .github/file-filters.yml
  24. - name: Setup sentry env (python ${{ matrix.python-version }})
  25. uses: ./.github/actions/setup-sentry
  26. id: setup
  27. if: steps.changes.outputs.plugins == 'true'
  28. with:
  29. python-version: ${{ matrix.python-version }}
  30. pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
  31. snuba: true
  32. - name: Run test
  33. if: steps.changes.outputs.plugins == 'true'
  34. run: |
  35. make test-plugins