12345678910111213141516171819202122232425262728293031323334353637 |
- name: python deps
- on:
- pull_request:
- paths:
- - '.github/actions/*'
- - '.github/workflows/python-deps.yml'
- - 'requirements*'
- jobs:
- # This workflow makes sure that Python dependencies install correctly for
- # a) our current version b) the next version we're targetting
- python-deps:
- name: install
- runs-on: ${{ matrix.os }}
- timeout-minutes: 20
- strategy:
- matrix:
- os: [macos-11.0, ubuntu-20.04]
- python-version: [3.6.13, 3.8.11]
- fail-fast: false
- env:
- PIP_DISABLE_PIP_VERSION_CHECK: on
- # There's a check that prevents make install-py-dev to work if the developer has not
- # explicitely set the intention to use a non-default Python version
- SENTRY_PYTHON_VERSION: ${{ matrix.python-version }}
- steps:
- - uses: actions/checkout@v2
- - name: Setup Python
- uses: ./.github/actions/setup-python
- - name: Install dependencies
- run: |
- python -m venv .venv
- source .venv/bin/activate
- make install-py-dev
|