File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 - ' 14'
4343 - ' 16'
4444 - ' 18'
45+ - ' 20'
4546 os :
4647 - ubuntu-latest
4748 name : Node.js ${{ matrix.node }} (${{ matrix.os }})
5455 PGTESTNOSSL : ' true'
5556 SCRAM_TEST_PGUSER : scram_test
5657 SCRAM_TEST_PGPASSWORD : test4scram
58+ TEST_SKIP_NATIVE : ${{ matrix.node == 20 }}
5759 steps :
5860 - name : Show OS
5961 run : |
Original file line number Diff line number Diff line change @@ -39,10 +39,14 @@ test-missing-native:
3939
4040test-native : test-connection
4141 @echo " ***Testing native bindings***"
42+ ifeq ($(TEST_SKIP_NATIVE ) , true)
43+ @echo "***Skipping tests***"
44+ else
4245 @npm i --no-save pg-native
4346 @find test/native -name "*-tests.js" | $(node-command)
4447 @find test/integration -name "*-tests.js" | $(node-command) native
4548 @npm uninstall pg-native
49+ endif
4650
4751test-integration : test-connection
4852 @echo " ***Testing Pure Javascript***"
You can’t perform that action at this time.
0 commit comments