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 659ef35
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 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,6 @@ jobs:
with:
node-version: '12'
- run: |
sudo apt-get update && sudo apt-get install -y libxmlsec1-dev libmaxminddb-dev
make develop
make test

0 comments on commit 659ef35

Please sign in to comment.