File tree 3 files changed +17
-2
lines changed
3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 34
34
- run : just install-packages
35
35
# If the example doesn't compile the integration test will
36
36
# be stuck. Check for compilation issues earlier to abort the job
37
- - name : Check if the example compiles
37
+ - name : Check if the key-storage example compiles
38
38
run : cargo check --example key-storage
39
+ - name : Check if the ssh-agent-client example compiles
40
+ run : cargo check --example ssh-agent-client
41
+ - name : Check if the ssh-agent-client-blocking example compiles
42
+ run : cargo check --example ssh-agent-client-blocking
39
43
- name : Run integration tests
40
44
run : ${{ matrix.script }}
Original file line number Diff line number Diff line change @@ -24,3 +24,10 @@ ssh-keygen -Y check-novalidate -n file -f agent.pub -s Cargo.toml.sig < Cargo.to
24
24
if %errorlevel% neq 0 exit /b %errorlevel%
25
25
26
26
rem del /F /Q Cargo.toml.sig id_rsa id_rsa.pub agent.pub
27
+
28
+ rem run the examples
29
+ cargo run --example ssh-agent-client
30
+ if %errorlevel% neq 0 exit /b %errorlevel%
31
+
32
+ cargo run --example ssh-agent-client-blocking
33
+ if %errorlevel% neq 0 exit /b %errorlevel%
Original file line number Diff line number Diff line change 47
47
# does not support RestrictDestination constraint (macos)
48
48
ssh-add -t 2 id_rsa
49
49
fi
50
-
50
+
51
51
# clean up the only leftover
52
52
rm -rf id_rsa id_rsa.pub id_rsa-cert.pub ca_user_key ca_user_key.pub
53
+
54
+ # run the examples
55
+ cargo run --example ssh-agent-client
56
+ cargo run --example ssh-agent-client-blocking
You can’t perform that action at this time.
0 commit comments