Skip to content

Commit 6e81d52

Browse files
chore: Added an action to run dotnet tests
1 parent 416f7e6 commit 6e81d52

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/cs-tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: C# tests
2+
on:
3+
push:
4+
jobs:
5+
tests:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v4
10+
- name: Setup .NET
11+
uses: actions/setup-dotnet@v4
12+
with:
13+
dotnet-version: '9.0'
14+
- name: Run tests
15+
run: dotnet test MN.L10n.Tests

MN.L10n.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1616
LICENSE.txt = LICENSE.txt
1717
README.md = README.md
1818
TROUBLESHOOTING.md = TROUBLESHOOTING.md
19+
.github\workflows\cs-tests.yml = .github\workflows\cs-tests.yml
1920
EndProjectSection
2021
EndProject
2122
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MN.L10n.Javascript", "MN.L10n.Javascript\MN.L10n.Javascript.csproj", "{C2F42349-0F94-4291-A5E9-62806A3960FA}"

0 commit comments

Comments
 (0)