We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd4f7fb commit 9aa1c06Copy full SHA for 9aa1c06
.github/workflows/main.yml
@@ -253,6 +253,8 @@ jobs:
253
unit_type:
254
- unit-race
255
- unit
256
+ - unit dbbackend=postgres
257
+ - unit dbbackend=sqlite
258
steps:
259
- name: git checkout
260
uses: actions/checkout@v4
make/testing_flags.mk
@@ -24,6 +24,16 @@ UNIT_TARGETED = yes
24
GOLIST = echo '$(PKG)/$(pkg)'
25
endif
26
27
+# Add the build tag for running unit tests against a postgres DB.
28
+ifeq ($(dbbackend),postgres)
29
+DEV_TAGS += test_db_postgres
30
+endif
31
+
32
+# Add the build tag for running unit tests against a sqlite DB.
33
+ifeq ($(dbbackend),sqlite)
34
+DEV_TAGS += test_db_sqlite
35
36
37
# Add any additional tags that are passed in to make.
38
ifneq ($(tags),)
39
DEV_TAGS += ${tags}
0 commit comments