Skip to content

Commit 5a2721b

Browse files
committed
fix pipeline - remove make as the test diver and add files to REUSE.toml
1 parent cde5cab commit 5a2721b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/ci.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ jobs:
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
@@ -33,7 +44,7 @@ jobs:
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

REUSE.toml

+2
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)