Skip to content

Commit 830b403

Browse files
committed
made old yml just unit tests
1 parent 70f3d53 commit 830b403

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
lines changed

.github/workflows/unit-and-integration-tests.yml .github/workflows/unit-tests.yml

+5-24
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Test Terminal.Gui with .NET Core
1+
name: Build & Run Unit Tests
22

33
on:
44
push:
@@ -61,11 +61,11 @@ jobs:
6161
shell: bash
6262
run: echo "{VSTEST_DUMP_PATH}={logs/${{ runner.os }}/}" >> $GITHUB_ENV
6363

64-
- name: Test
64+
- name: Run UnitTests
6565
run: |
66-
dotnet test --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings --diag:logs/${{ runner.os }}/logs.txt --blame --blame-crash --blame-hang --blame-hang-timeout 60s --blame-crash-collect-always
66+
dotnet test UnitTests --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings --diag:logs/${{ runner.os }}/logs.txt --blame --blame-crash --blame-hang --blame-hang-timeout 60s --blame-crash-collect-always
6767
68-
# mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
68+
# mv -v UnitTests/TestResults/*/*.* TestResults/UnitTests/
6969

7070
- name: Upload Test Logs
7171
if: always()
@@ -74,7 +74,7 @@ jobs:
7474
name: test-logs-${{ runner.os }}
7575
path: |
7676
logs/
77-
UnitTests/TestResults/
77+
TestResults/UnitTests/
7878
7979

8080
build_release:
@@ -98,22 +98,3 @@ jobs:
9898

9999
- name: Build Release Solution
100100
run: dotnet build --configuration Release
101-
102-
103-
# Note: this step is currently not writing to the gist for some reason
104-
# - name: Create Test Coverage Badge
105-
# uses: simon-k/[email protected]
106-
# id: create_coverage_badge
107-
# with:
108-
# label: Unit Test Coverage
109-
# color: brightgreen
110-
# path: UnitTests/TestResults/coverage.opencover.xml
111-
# gist-filename: code-coverage.json
112-
# # https://gist.github.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27
113-
# gist-id: 90ef67a684cb71db1817921a970f8d27
114-
# gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}
115-
116-
# - name: Print Code Coverage
117-
# run: |
118-
# echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
119-
# echo "Badge data: ${{steps.create_coverage_badge.outputs.badge}}"

Terminal.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{13BB2C
3434
GitVersion.yml = GitVersion.yml
3535
.github\workflows\publish.yml = .github\workflows\publish.yml
3636
stress-tests.yml = stress-tests.yml
37-
.github\workflows\unit-and-integration-tests.yml = .github\workflows\unit-and-integration-tests.yml
37+
.github\workflows\unit-tests.yml = .github\workflows\unit-tests.yml
3838
EndProjectSection
3939
EndProject
4040
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{C7A51224-5E0F-4986-AB37-A6BF89966C12}"

0 commit comments

Comments
 (0)