Skip to content

Commit

Permalink
Rename project (#6)
Browse files Browse the repository at this point in the history
* Rename project

* Fix files

* Update POCTensorFlow.sln

---------

Co-authored-by: Guilherme Branco Stracini <[email protected]>
  • Loading branch information
guibranco and guistracini-outsurance-ie authored Sep 19, 2024
1 parent 20a4380 commit bd3a0f1
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 134 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
dotnet-version: '8.0.x'

- name: Build solution
run: dotnet build -c Debug
run: dotnet build -c Release

- name: Run tests
run: dotnet test -c Debug --no-build --no-restore
run: dotnet test -c Release --no-build --no-restore
6 changes: 3 additions & 3 deletions .github/workflows/deep-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: "8.0.x"

- name: Build and analyze
if: >-
Expand All @@ -38,6 +38,6 @@ jobs:
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
run: |
dotnet build -c Debug --verbosity minimal
dotnet test -c Debug --verbosity minimal --no-build --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat="cobertura" /p:CoverletOutput='../Results/'
dotnet build -c Release --verbosity minimal
dotnet test -c Release --verbosity minimal --no-build --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat="cobertura" /p:CoverletOutput='../Results/'
./bin/deepsource report --analyzer test-coverage --key csharp --value-file Tests/Results/coverage.cobertura.xml
4 changes: 2 additions & 2 deletions POCTemplate.sln → POCTensorFlow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{CCFE3371-AE28-446A-B8D1-8D1027A2D23B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "POCTemplate", "Src\POCTemplate\POCTemplate.csproj", "{5E214FC8-0D9B-4DD7-B952-DA994D094EC4}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "POCTensorFlow", "Src\POCTensorFlow\POCTensorFlow.csproj", "{5E214FC8-0D9B-4DD7-B952-DA994D094EC4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{279F38EF-A29A-48E2-9201-BA9D5BACAF5B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "POCTemplate.Tests", "Tests\POCTemplate.Tests\POCTemplate.Tests.csproj", "{43CA48B4-6FC2-425E-82AF-19B643029326}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "POCTensorFlow.Tests", "Tests\POCTensorFlow.Tests\POCTensorFlow.Tests.csproj", "{43CA48B4-6FC2-425E-82AF-19B643029326}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
40 changes: 22 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
# PoC .NET template
# Project Title

A template repository for .NET PoC (Proof of Concept)
One Paragraph of the project description goes here.

---
## Getting Started

- Create a new repository using this one as a template (click the green button at the top right of this page).
- Edit [README.md](README.md) file to align with your PoC.
- Change the solution and projects to suit your investigation/test/concept.
These instructions will get you a copy of the project up and running on your local machine for development and testing. See deployment for notes on deploying the project on a live system.

## Installation Guide
## Useful links

Follow these steps to set up the project. This guide includes installation scripts for PowerShell, Shell/Bash, and Batch.
- A list of links
- Documentation
- Or just examples

### PowerShell
### Prerequisites

```ps
.\install.ps1
What things do you need to install the software, and how to install them

```
Give examples
```

### Shell/Bash
### Installing

```bash
./install.sh
```
A step-by-step series of examples that tell you how to get a development env running

### Batch
Say what the step will be

```batch
.\install.bat
```
Give the example
```

Repeat until finished

End with an example of getting some data out of the system or using it for a little demo.
35 changes: 0 additions & 35 deletions README.template.md

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace POCTemplate;
namespace POCTensorFlow;

internal static class Program
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Src\POCTemplate\POCTemplate.csproj" />
<ProjectReference Include="..\..\Src\POCTensorFlow\POCTensorFlow.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentAssertions;

namespace POCTemplate.Tests;
namespace POCTensorFlow.Tests;

public class UnitTest1
{
Expand Down
1 change: 0 additions & 1 deletion install.bat

This file was deleted.

36 changes: 0 additions & 36 deletions install.ps1

This file was deleted.

34 changes: 0 additions & 34 deletions install.sh

This file was deleted.

0 comments on commit bd3a0f1

Please sign in to comment.