Skip to content

Commit 2f6ac1f

Browse files
committed
Refactor GitHub Actions workflows to remove redundant pull request trigger and streamline test command
1 parent 602eb59 commit 2f6ac1f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/main_apicolombia.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
pull_request:
11-
branches:
12-
- main
1310
workflow_dispatch:
1411

1512
jobs:
@@ -42,12 +39,6 @@ jobs:
4239
with:
4340
name: test-results
4441
path: '**/*.trx'
45-
46-
- name: Upload dotnet test results
47-
uses: actions/upload-artifact@v4
48-
with:
49-
name: dotnet-results-${{ matrix.dotnet-version }}
50-
path: TestResults-${{ matrix.dotnet-version }}
5142

5243
- name: dotnet publish
5344
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp

.github/workflows/pull_request_apicolombia.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: dotnet build --configuration Release
3030

3131
- name: Test with dotnet
32-
run: dotnet test --no-build --configuration Release --logger "trx;LogFileName=testresults.trx"
32+
run: dotnet test --configuration Release --logger "trx;LogFileName=testresults.trx"
3333
working-directory: ./api.Tests
3434

3535
- name: Publish test results

0 commit comments

Comments
 (0)