Skip to content

Commit

Permalink
Merge pull request #10 from s2quake/ci/test
Browse files Browse the repository at this point in the history
Add CI test
  • Loading branch information
s2quake authored Jun 14, 2024
2 parents beed003 + d1a2dff commit 31e19d1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/dotnet-core.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Test

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: 8.0.100
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-restore --no-build

0 comments on commit 31e19d1

Please sign in to comment.