Skip to content

Commit 4d0bde0

Browse files
committed
feat: fix lint errors and remove unused github actions
1 parent b8fc633 commit 4d0bde0

File tree

25 files changed

+710
-693
lines changed

25 files changed

+710
-693
lines changed

.flake8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[flake8]
22
max-line-length = 88
33
extend-ignore = E203, E501
4+
exclude =
5+
.venv
6+
migrations
7+
nextjs

.github/actions/cached-build/action.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/actions/in-container/action.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/build_dev_image.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/mirror.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,29 @@ on:
1111
jobs:
1212
tests:
1313
runs-on: ubuntu-latest
14+
services:
15+
postgres:
16+
image: postgres
17+
env:
18+
POSTGRES_PASSWORD: postgres
19+
options: >-
20+
--health-cmd pg_isready
21+
--health-interval 10s
22+
--health-timeout 5s
23+
--health-retries 5
24+
ports:
25+
- 5432:5432
1426
steps:
15-
1627
- name: checkout repo content
1728
uses: actions/checkout@v2
1829

1930
- name: Run django tests
2031
uses: ./.github/actions/in-container
32+
env:
33+
DATABASE_URL: postgres://postgres:postgres@postgres/postgres
34+
CACHE_FILE: /tmp/meep
35+
SECRET_KEY: keyboardcat
2136
with:
22-
use_dev_image: false
2337
run: |
2438
script/bootstrap
2539
script/test --coverage

0 commit comments

Comments
 (0)