File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 14
14
test_and_deploy :
15
15
name : Test and deploy
16
16
runs-on : ubuntu-22.04
17
+ env :
18
+ TEST_DB_URL : postgres://postgres:testpass@localhost:5432/postgres
19
+ services :
20
+ postgres :
21
+ image : postgres:16-alpine
22
+ env :
23
+ POSTGRES_USER : postgres
24
+ POSTGRES_PASSWORD : testpass
25
+ POSTGRES_DB : postgres
26
+ ports :
27
+ - 5432:5432
17
28
steps :
18
29
- name : Checkout the source code
19
30
uses : actions/checkout@v4
33
44
key : linux
34
45
35
46
- name : Run unit tests
36
- run : make test
47
+ run : cargo test --all
37
48
38
49
- name : Lint check
39
50
run : cargo clippy --all -- -D warnings
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ path = [
25
25
" Cargo.lock" ,
26
26
" Cargo.toml" ,
27
27
" Dockerfile" ,
28
+ " docker-compose.yml" ,
28
29
" LICENSE.md" ,
30
+ " Makefile" ,
29
31
" README.md" ,
30
32
" REUSE.toml" ,
31
33
" .gitignore" ,
You can’t perform that action at this time.
0 commit comments