name: command line on: push: branches: - master pull_request: jobs: test: name: cli 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.backend == 'true' with: python-version: ${{ matrix.python-version }} pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }} - name: Run test if: steps.changes.outputs.backend == 'true' run: | make test-cli - name: Handle artifacts uses: ./.github/actions/artifacts