Skip to content

Commit

Permalink
chore(ci): fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
max-wittig committed Mar 5, 2021
1 parent ea3a193 commit e39dcd1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 94 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Test

on:
push:
Expand All @@ -21,17 +21,7 @@ jobs:
python-version: "3.6"
- uses: psf/black@stable
with:
black_args: ". --check"
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.6"
- uses: olance/isort-action@v1.0.0
with:
args: .
args: "--check ."
commitlint:
runs-on: ubuntu-latest
steps:
Expand All @@ -52,10 +42,17 @@ jobs:
--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
Expand All @@ -66,5 +63,7 @@ jobs:
with:
node-version: '12'
- run: |
sudo apt-get update && sudo apt-get install -y libxmlsec1-dev libmaxminddb-dev
pip3 install -U wheel
make develop
make test
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean develop publish test
.PHONY: clean develop test

develop:
pip3 install -e git+https://github.com/getsentry/sentry.git#egg=sentry[dev]
Expand All @@ -12,10 +12,6 @@ test:
pytest tests || exit 1
@echo ""

publish:
poetry install -n --no-dev
poetry publish -n

clean:
rm -rf *.egg-info src/*.egg-info
rm -rf dist build
76 changes: 1 addition & 75 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sentry-auth-oidc"
version = "5.0.2"
version = "5.0.0"
description = "OpenID Connect authentication provider for Sentry"
authors = ["Max Wittig <max.wittig@siemens.com>"]
license = "Apache 2.0"
Expand All @@ -17,7 +17,6 @@ packages = [

[tool.poetry.dependencies]
python = "^3.6"
requests = "*"

[tool.poetry.dev-dependencies]
black = "^20.8b1"
Expand Down

0 comments on commit e39dcd1

Please sign in to comment.