Skip to content

Commit

Permalink
auth tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubwro committed Oct 4, 2023
1 parent d373883 commit c1dcaa0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: "Start NATS server with token authentication."
run: |
echo $PWD
name=`docker create --network ${{ job.container.network }} --name nats --network-alias nats -p 4222:4222 -e GITHUB_ACTIONS=true -e CI=true nats:${{ matrix.nats-version }} --auth s3cr3t`
name=`docker create --network ${{ job.container.network }} --name nats --network-alias nats -p 4222:4222 -e GITHUB_ACTIONS=true -e CI=true nats:${{ matrix.nats-version }} --auth s3cr3t --user jakub --pass passw0rd`
docker container start $name
sleep 2
docker logs $name
Expand All @@ -49,6 +49,11 @@ jobs:
env:
JULIA_NUM_THREADS: ${{ matrix.julia-num-threads }}
NATS_AUTH_TOKEN: "s3cr3t"
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: ${{ matrix.julia-num-threads }}
NATS_USER: "jakub"
NATS_PASS: "passw0rd"
- uses: julia-actions/julia-processcoverage@v1
# annotate: true
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit c1dcaa0

Please sign in to comment.