Skip to content

Commit

Permalink
nkeys authenticated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubwro committed Oct 5, 2023
1 parent b3dd002 commit 38f7735
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ jobs:
JULIA_NUM_THREADS: ${{ matrix.julia-num-threads }}
NATS_USER: "jakub"
NATS_PASS: "passw0rd"
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: ${{ matrix.julia-num-threads }}
NATS_PORT: "4224"
NATS_NKEY_SEED: "SUADPKZWX3XJQO4GJEX2IGZAKCYUSLSLNJXFG7KPAYAODEVABRK6ZKKALA"
NATS_NKEY: "UDBKUC5JFUX5SDF6CGBT3WAZEZSJTGMWWSCRJMODEUPVOKBPCLVODH2J"
- uses: julia-actions/julia-processcoverage@v1
# annotate: true
- name: Upload coverage reports to Codecov
Expand Down
2 changes: 1 addition & 1 deletion test/configs/nats-server-nkey-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ port: 4222

authorization: {
users: [
{ nkey: UDXU4RCSJNZOIQHZNWXHXORDPRTGNJAHAHFRGZNEEJCPQTT2M7NLCNF4 }
{ nkey: UDBKUC5JFUX5SDF6CGBT3WAZEZSJTGMWWSCRJMODEUPVOKBPCLVODH2J }
]
}

0 comments on commit 38f7735

Please sign in to comment.