123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- name: symbolicator integration
- on:
- push:
- branches:
- - master
- - releases/**
- pull_request:
- jobs:
- test:
- name: symbolicator test
- runs-on: ubuntu-20.04
- timeout-minutes: 90
- strategy:
- matrix:
- python-version: [3.8.12]
- steps:
- - uses: actions/checkout@v2
- with:
- # Avoid codecov error message related to SHA resolution:
- # https://github.com/codecov/codecov-bash/blob/7100762afbc822b91806a6574658129fe0d23a7d/codecov#L891
- fetch-depth: '2'
- - 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.backend == 'true'
- with:
- python-version: ${{ matrix.python-version }}
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
- snuba: true
- kafka: true
- - name: Start symbolicator
- if: steps.changes.outputs.backend == 'true'
- run: |
- echo $PWD
- docker run \
- -d \
- -v $PWD/config/symbolicator/:/etc/symbolicator \
- --network host \
- --name symbolicator \
- us.gcr.io/sentryio/symbolicator:nightly \
- run -c /etc/symbolicator/config.yml
- docker ps -a
- - name: Run test
- if: steps.changes.outputs.backend == 'true'
- run: |
- make test-symbolicator
- - name: Handle artifacts
- uses: ./.github/actions/artifacts
|