File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 42
42
- ' 14'
43
43
- ' 16'
44
44
- ' 18'
45
+ - ' 20'
45
46
os :
46
47
- ubuntu-latest
47
48
name : Node.js ${{ matrix.node }} (${{ matrix.os }})
54
55
PGTESTNOSSL : ' true'
55
56
SCRAM_TEST_PGUSER : scram_test
56
57
SCRAM_TEST_PGPASSWORD : test4scram
58
+ TEST_SKIP_NATIVE : ${{ matrix.node == 20 }}
57
59
steps :
58
60
- name : Show OS
59
61
run : |
Original file line number Diff line number Diff line change @@ -39,10 +39,14 @@ test-missing-native:
39
39
40
40
test-native : test-connection
41
41
@echo " ***Testing native bindings***"
42
+ ifeq ($(TEST_SKIP_NATIVE ) , true)
43
+ @echo "***Skipping tests***"
44
+ else
42
45
@npm i --no-save pg-native
43
46
@find test/native -name "*-tests.js" | $(node-command)
44
47
@find test/integration -name "*-tests.js" | $(node-command) native
45
48
@npm uninstall pg-native
49
+ endif
46
50
47
51
test-integration : test-connection
48
52
@echo " ***Testing Pure Javascript***"
You can’t perform that action at this time.
0 commit comments