Skip to content

refactor: adapt to Sentry 23.9.1 #46

refactor: adapt to Sentry 23.9.1

refactor: adapt to Sentry 23.9.1 #46

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
PY_COLORS: 1
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- uses: psf/black@stable
with:
options: "--check ."
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v3
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
env:
POSTGRES_HOST_AUTH_METHOD: trust
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
memcached:
image: memcached:1.5-alpine
ports:
- 11211:11211
redis:
image: redis:5.0-alpine
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- uses: abatilo/[email protected]
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Setup required upstream yarn version
run: yarn set version 1.22.5
- run: |
sudo apt-get update && sudo apt-get install -y libxmlsec1-dev libmaxminddb-dev
pip3 install -U wheel
make develop
make test