CleanCocoa / DeclarativeTextKit

Swift DSL to perform mutations on e.g. NSTextViews in a declarative style.
MIT License
42 stars 1 forks source link

Run tests via GitHub Actions on pull requests #3

Closed DivineDominion closed 4 months ago

DivineDominion commented 4 months ago

While I'm working on this locally, I run unit tests compulsively all the time.

For PR's, we better double-check with CI like GitHub Actions.

ikelax commented 4 months ago

I want to work on this. Do you already have further steps in mind?

DivineDominion commented 4 months ago

Nothing special. There are GitHub action templates that should do the trick. For now, we should end up running swift test. That'll compile and run tests and report the result.

Once other platforms are introduced in e.g. #2 we would need to create a "test matrix". But we'll figure that out once we get there.

DivineDominion commented 4 months ago

@ikelax You can take liberal inspiration from https://github.com/ChimeHQ/ChimeKit -- and if the Actions work, also uncomment the "Build" badge in the README that I prepared.