Skip to content

Commit 3dc79dd

Browse files
Sandounclaude
andcommitted
Switch CI to GitHub-hosted runners and exclude live PLC tests
Self-hosted runners are no longer available; both the test and publish pipelines now run on ubuntu-latest. No step relied on ARM64-specific behavior, so this is a drop-in swap. Also explicitly filter out TestLivePLC in the test pipeline since live PLC hardware access is no longer available (those tests were already Skip-attributed in source, this makes the exclusion explicit at the CI level too). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 8196e8a commit 3dc79dd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
publish-package:
2828
name: 'Build and publish package'
2929
needs: test-pipeline
30-
runs-on: [self-hosted, linux, ARM64]
30+
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v3
3333
- name: 'RenameVersionTag'

.github/workflows/test-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
#Run unit tests on the test PLCs
2121
run-unit-tests:
2222
name: 'Run tests and documentation'
23-
runs-on: self-hosted
23+
runs-on: ubuntu-latest
2424
steps:
2525

2626
- name: 'Setup dotnet'
@@ -39,7 +39,7 @@ jobs:
3939
id: extract_branch
4040

4141
- name: 'Run tests'
42-
run: dotnet test "./MewtocolTests" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../Builds/TestResults/coverage.opencover.xml
42+
run: dotnet test "./MewtocolTests" --filter "FullyQualifiedName!~TestLivePLC" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../Builds/TestResults/coverage.opencover.xml
4343

4444
- name: 'Run docbuilder'
4545
continue-on-error: true

0 commit comments

Comments
 (0)