Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add Build and Test Locally section #76

Merged
merged 2 commits into from
Sep 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,28 @@ Prerequisites:
- On console applications, logs are flushed before the app exits
- Enable debug mode to see debug messages and errors in the console output and trace log
- Provided with sample applications and configuration examples

## Build and Test Locally

This project uses .NET 8.0 and can be built and tested locally. Follow the steps below to do so:

1. Clone the repository

```bash
git clone https://github.com/logzio/logzio-dotnet.git
```

2. Go to `./src` directory

```bash
cd logzio-dotnet/src
```

3. Build and run tests

```bash
dotnet restore logzio-dotnet.sln
dotnet build logzio-dotnet.sln /p:Configuration=Release
dotnet test ./UnitTests/UnitTests.csproj
dotnet test ./IntegrationTests/IntegrationTests.csproj
```
Loading