diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97dc20a..bb3edf5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,16 @@ jobs: # Run tests - name: L0 + env: + # SelfUpdaterL0.TestSelfUpdateAsync_NoUpdateOnOldVersion asserts that a + # refresh to 2.200.0 is declined for being older than the running runner. + # This fork pins src/runnerversion to 0.0.1. publish-image.yml uses that + # file to tag the image, but this L0 job also compiles it: src/dev.sh + # passes it as RunnerVersion and src/dir.proj writes it into + # BuildConstants.RunnerPackage.Version, so 2.200.0 compares as newer and + # the test drives a real self-update download instead. Drop this filter + # once src/runnerversion tracks the RUNNER_VERSION in images/Dockerfile. + TestFilter: 'FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync_NoUpdateOnOldVersion' run: | ${{ matrix.devScript }} test working-directory: src diff --git a/src/dir.proj b/src/dir.proj index 056a312..f99aa55 100644 --- a/src/dir.proj +++ b/src/dir.proj @@ -47,8 +47,11 @@ + + --filter %22$(TestFilter)%22 + - +