We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76e7cd commit efbad24Copy full SHA for efbad24
.github/workflows/runas.yml
@@ -9,6 +9,7 @@ on:
9
env:
10
CARGO_TERM_COLOR: always
11
RUST_BACKTRACE: 1
12
+ TOOL_DIR: ./tools
13
14
jobs:
15
ubuntu:
@@ -20,6 +21,10 @@ jobs:
20
21
with:
22
prefix-key: "v1-cargo-pgrx-test--runas"
23
24
+ - name: Install Rust
25
+ run: |
26
+ "$TOOL_DIR"/rustup.sh
27
+
28
- name: Install Postgres deps
29
run: |
30
sudo apt-get update -y -qq --fix-missing
@@ -35,4 +40,6 @@ jobs:
35
40
run: cargo pgrx init --pg14=$(which pg_config)
36
41
37
42
- name: Test cargo pgrx test --runas
38
- run: cd pgrx-examples/arrays && cargo pgrx test pg14 --runas postgres --pgdata=/tmp/pgdata
43
44
+ echo 0 | sudo tee /proc/sys/fs/protected_fifos
45
+ cd pgrx-examples/arrays && cargo pgrx test pg14 --runas postgres --pgdata=/tmp/pgdata
0 commit comments