-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (46 loc) · 1.49 KB
/
Copy pathonline-api-integration.yml
File metadata and controls
53 lines (46 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Online API Integration
on:
push:
paths:
- '.github/workflows/online-api-integration.yml'
- 'src/HagiCode.Libs.Skills/**'
- 'tests/HagiCode.Libs.Skills.Tests/**'
- 'docs/skills-online-api-reference.md'
- 'README.md'
- 'Directory.Build.props'
- 'Directory.Packages.props'
- 'global.json'
- '*.slnx'
pull_request:
paths:
- '.github/workflows/online-api-integration.yml'
- 'src/HagiCode.Libs.Skills/**'
- 'tests/HagiCode.Libs.Skills.Tests/**'
- 'docs/skills-online-api-reference.md'
- 'README.md'
- 'Directory.Build.props'
- 'Directory.Packages.props'
- 'global.json'
- '*.slnx'
workflow_dispatch:
env:
HAGICODE_REAL_ONLINE_API_TESTS: '1'
jobs:
online-api-integration:
name: 'ubuntu-latest real online API integration'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore Skills test project
run: dotnet restore tests/HagiCode.Libs.Skills.Tests/HagiCode.Libs.Skills.Tests.csproj
- name: Run real online API integration tests
run: |
dotnet test tests/HagiCode.Libs.Skills.Tests/HagiCode.Libs.Skills.Tests.csproj \
--no-restore \
--filter "FullyQualifiedName~RealOnlineApiIntegrationTests" \
--logger "console;verbosity=normal"