Skip to content

Commit

Permalink
Remove debug lines, add configuration release
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo authored Apr 29, 2024
1 parent 1a8b88e commit c57f250
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/test-and-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,8 @@ jobs:
- name: Restore dependencies for unit tests
run: |
mkdir -p ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native
dotnet restore Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests.csproj
dotnet restore Yubico.Core/tests/Yubico.Core.UnitTests.csproj
ls -l ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native
- name: Export LD LIBRARY PATH if on ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: |
ls $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native
echo "LD_LIBRARY_PATH=$HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native/libYubico.NativeShims.so:$LD_LIBRARY_PATH" >> $GITHUB_ENV
cp $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native/libYubico.NativeShims.so ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native/libYubico.NativeShims.so
ls -l ./Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests/bin/Release/net6.0/runtimes/linux-x64/native
ls -l $HOME/.nuget/packages/yubico.nativeshims/1.10.0/runtimes/linux-x64/native
- name: Check LD_LIBRARY_PATH
if: matrix.os == 'ubuntu-latest'
run: |
echo "LD LIBRARY PATH: $LD_LIBRARY_PATH"
dotnet restore Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests.csproj --configuration Release
dotnet restore Yubico.Core/tests/Yubico.Core.UnitTests.csproj --configuration Release
- name: Run Tests on Ubuntu
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit c57f250

Please sign in to comment.