File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -69,29 +69,22 @@ jobs:
6969 ENDPOINT : ${{ secrets.ENDPOINT }}
7070 steps :
7171 - uses : actions/checkout@v3
72- - uses : Vampire/setup-wsl@v2
73- with :
74- distribution : Ubuntu-22.04
7572 - name : Install Redis
76- shell : wsl-bash {0}
73+ shell : cmd
7774 run : |
78- sudo apt-get update
79- sudo apt-get install curl -y && sudo apt-get install gpg -y && apt-get install lsb-release -y && apt-get install libgomp1 -y
80- curl https://packages.redis.io/redis-stack/redis-stack-server-${{env.redis_stack_version}}.jammy.x86_64.tar.gz -o redis-stack.tar.gz
81- tar xf redis-stack.tar.gz
75+ docker compose --profile all -f tests/dockers/docker-compose.yml up -d --build
8276 - name : Restore dependencies
8377 run : dotnet restore
8478 - name : Build
8579 run : dotnet build --no-restore /p:ContinuousIntegrationBuild=true
86- - name : Save test certificates
87- shell : wsl-bash {0}
88- run : |
89- echo "${{secrets.REDIS_CA_PEM}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_ca.pem
90- echo "${{secrets.REDIS_USER_CRT}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_user.crt
91- echo "${{secrets.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_user_private.key
92- ls -R
80+ # - name: Save test certificates
81+ # shell: wsl-bash {0}
82+ # run: |
83+ # echo "${{secrets.REDIS_CA_PEM}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_ca.pem
84+ # echo "${{secrets.REDIS_USER_CRT}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_user.crt
85+ # echo "${{secrets.REDIS_USER_PRIVATE_KEY}}" > tests/NRedisStack.Tests/bin/Debug/net481/redis_user_private.key
86+ # ls -R
9387 - name : Test
9488 shell : cmd
95- run : |
96- START wsl ./redis-stack-server-${{env.redis_stack_version}}/bin/redis-stack-server &
89+ run : |
9790 dotnet test -f net481 --no-build --verbosity detailed -p:BuildInParallel=false tests/Test.proj --logger GitHubActions
You can’t perform that action at this time.
0 commit comments