|
@@ -47,7 +47,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
|
|
|
- name: Run API docs tests
|
|
@@ -90,7 +89,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
# Right now, we run so few bigtable related tests that the
|
|
|
# overhead of running bigtable in all backend tests
|
|
@@ -125,7 +123,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
pg-version: ${{ matrix.pg-version }}
|
|
|
|
|
|
- name: Run test
|
|
@@ -186,12 +183,11 @@ jobs:
|
|
|
- added|modified: '**/*.py'
|
|
|
- added|modified: 'requirements-*.txt'
|
|
|
|
|
|
- - uses: actions/setup-python@v3
|
|
|
+ - uses: actions/setup-python@v4
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- cache: 'pip'
|
|
|
- cache-dependency-path: |
|
|
|
- requirements-dev-only-frozen.txt
|
|
|
+ cache: pip
|
|
|
+ cache-dependency-path: requirements-dev-only-frozen.txt
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
with:
|
|
@@ -240,7 +236,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
pg-version: ${{ matrix.pg-version }}
|
|
|
|
|
|
- name: Migration & lockfile checks
|
|
@@ -267,7 +262,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
|
|
|
- name: Run test
|
|
@@ -295,7 +289,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
kafka: true
|
|
|
|
|
@@ -344,7 +337,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
kafka: true
|
|
|
|
|
@@ -376,7 +368,6 @@ jobs:
|
|
|
id: setup
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- pip-cache-version: ${{ secrets.PIP_CACHE_VERSION }}
|
|
|
snuba: true
|
|
|
kafka: true
|
|
|
|
|
@@ -412,9 +403,11 @@ jobs:
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
- name: Setup Python ${{ matrix.python-version }}
|
|
|
- uses: ./.github/actions/setup-python
|
|
|
+ uses: actions/setup-python@v4
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
+ cache: pip
|
|
|
+ cache-dependency-path: requirements-dev-frozen.txt
|
|
|
|
|
|
# We don't call setup-sentry, because we don't need devservices.
|
|
|
- name: Setup backend typing
|