Skip to content

Latest commit

History

History
43 lines (23 loc) 路 1.41 KB

File metadata and controls

43 lines (23 loc) 路 1.41 KB

Running tests with GitHub actions

One of the most best things you can do for your Flutter project is to run all the tests when you push your code.

And with GitHub workflows, this can be accomplished in 10 lines of code.

Just create a tests.yaml file and put it in .github/workflows

Wanna learn more? 馃憞


There is SO MUCH more that you can do with GitHub workflows!

This page covers the entire workflows syntax. 100% worth it:

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

And here's a gist with the basic test workflow that you can add to your project:

https://gist.github.com/bizz84/c9b6d2ce383ac96c2a6d297cfeaa31d6


I'll be covering all the advanced setup stuff, including code signing, Testflight, Fastlane, API secrets and much more in my upcoming course later this year.

For now, here's a signup link to get my pre-sale discount:

Happy coding!


Found this useful? Show some love and share the original tweet 馃檹


Previous Next
How to run Flutter Integration Tests at Hyper Speed Better Comments Extension for VSCode