Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

CI build fails after merge to master #18

Closed
mbhoek opened this issue Feb 16, 2020 · 1 comment
Closed

CI build fails after merge to master #18

mbhoek opened this issue Feb 16, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mbhoek
Copy link
Member

mbhoek commented Feb 16, 2020

After merging PR #17 into master, the automated CI build failed.

error CS0246: The type or namespace name 'SolidToken_SpecFlow_DependencyInjection_Tests_XUnitAssemblyFixture' could not be found (are you missing a using directive or an assembly reference?) [D:\a\1\s\SpecFlow.DependencyInjection.Tests\SpecFlow.DependencyInjection.Tests.csproj]

However, on the same master branch a manual build succeeds.
The pull request build also succeeded.

Is this a repeatable bug? What causes it? Is it solved by moving to GitHub Actions (#11)?

@mbhoek mbhoek added the bug Something isn't working label Feb 16, 2020
@mbhoek mbhoek added this to the v1.0 milestone Feb 16, 2020
@mbhoek mbhoek self-assigned this Feb 16, 2020
@mbhoek mbhoek changed the title CI build fails after merge to master CI build fails after merge to master Feb 16, 2020
@mbhoek
Copy link
Member Author

mbhoek commented Feb 16, 2020

Probably related to SpecFlowOSS/SpecFlow#1825 (but does that explain it happening in the CI environment as well?). If it is a problem in SpecFlow, then moving to GitHub Actions won't solve it.

Downgrading to SpecFlow 3.0.225 results in a different error (note it still has something to do with the fixture):

    System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'key')) (The following constructor parameters did not have matching fixture data: FixtureData fixtureData)
    ---- System.ArgumentNullException : Value cannot be null. (Parameter 'key')
    ---- The following constructor parameters did not have matching fixture data: FixtureData fixtureData

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant