File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1414 test_and_deploy :
1515 name : Test and deploy
1616 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
1728 steps :
1829 - name : Checkout the source code
1930 uses : actions/checkout@v4
3344 key : linux
3445
3546 - name : Run unit tests
36- run : make test
47+ run : cargo test --all
3748
3849 - name : Lint check
3950 run : cargo clippy --all -- -D warnings
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ path = [
2525 " Cargo.lock" ,
2626 " Cargo.toml" ,
2727 " Dockerfile" ,
28+ " docker-compose.yml" ,
2829 " LICENSE.md" ,
30+ " Makefile" ,
2931 " README.md" ,
3032 " REUSE.toml" ,
3133 " .gitignore" ,
You can’t perform that action at this time.
0 commit comments