Fix additional nuget sources for tests project
This commit is contained in:
parent
42613d0a94
commit
e1f020c254
4 changed files with 8 additions and 9 deletions
|
@ -10,15 +10,9 @@ jobs:
|
|||
steps:
|
||||
- name: Clone repository
|
||||
run: git clone https://iceshrimp.dev/iceshrimp/iceshrimp-rewrite.git --branch=${{ github.ref_name }} --depth=1 /iceshrimp
|
||||
- name: Build the backend
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
cd /iceshrimp/Iceshrimp.Backend
|
||||
dotnet restore
|
||||
mkdir -p ./wwwroot/.vite/ && touch ./wwwroot/.vite/manifest.json
|
||||
dotnet build
|
||||
- name: Test the backend
|
||||
run: |
|
||||
cd /iceshrimp/Iceshrimp.Tests
|
||||
cd /iceshrimp
|
||||
dotnet test
|
||||
build-and-push:
|
||||
runs-on: docker
|
||||
|
|
|
@ -30,5 +30,5 @@ jobs:
|
|||
dotnet build
|
||||
- name: Test the backend
|
||||
run: |
|
||||
cd /iceshrimp/Iceshrimp.Tests
|
||||
cd /iceshrimp
|
||||
dotnet test
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<VersionPrefix>2024.1</VersionPrefix>
|
||||
<VersionSuffix>prealpha</VersionSuffix>
|
||||
|
||||
<RestoreAdditionalProjectSources>
|
||||
https://iceshrimp.dev/api/packages/iceshrimp/nuget/index.json;
|
||||
</RestoreAdditionalProjectSources>
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<RestoreAdditionalProjectSources>
|
||||
https://iceshrimp.dev/api/packages/iceshrimp/nuget/index.json;
|
||||
</RestoreAdditionalProjectSources>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
|
Loading…
Add table
Reference in a new issue