Understanding GitHub Actions - Automated Testing

  Рет қаралды 32,392

Dev Leonardo

Dev Leonardo

Күн бұрын

Пікірлер: 29
@acavals8080
@acavals8080 4 ай бұрын
Straight to the point, no annoying music, simple example and that's it. Man, I'm feeling like a PRO now, thank you!
@aadil4236
@aadil4236 2 ай бұрын
Jesus. Why do you have so little subscribers! You're to the point and concise. Thank you bro!
@LaDoritaa
@LaDoritaa 2 ай бұрын
Wow. I was trying to look for videos about this topic and this was the best video out of all of them. Thank you so so much! So straight to the point and easy to understand.
@przemysawbaca2449
@przemysawbaca2449 Жыл бұрын
Well explained. I liked how you even made clear how you add and commits files at the same time :D
@DevLeonardo
@DevLeonardo Жыл бұрын
Thank you! If you're interested, I uploaded a dedicated video on git aliases: kzbin.info/www/bejne/i5yXeKGPpLarlas
@mryoutuber6
@mryoutuber6 9 ай бұрын
this job failed show in workflow why .i run RDP
@AnaRebecaAR
@AnaRebecaAR Жыл бұрын
i can't believe this is exactly what i was looking for. Thank you!
@DevLeonardo
@DevLeonardo Жыл бұрын
That's great, you're welcome :D
@CodePursuit
@CodePursuit 11 ай бұрын
Thanks ;) subscribed! keep creating such videos , also learned something new today
@DevLeonardo
@DevLeonardo 11 ай бұрын
Thank you and welcome! :D
@phanhuyhoang3720
@phanhuyhoang3720 Жыл бұрын
I got a problem. My file in the root but it try to open /home/runner/work/my-repo name/my repo name/my file. I do not know how to do that😢😢
@ricardopereira597
@ricardopereira597 Жыл бұрын
whats the github extenssion you have in VSCode ?
@DevLeonardo
@DevLeonardo Жыл бұрын
Hey! It's called GitHub Pull Requests and Issues :)
@studystudy123
@studystudy123 Жыл бұрын
Btw can you say how are you getting suggestion on cmd prompt???
@DevLeonardo
@DevLeonardo Жыл бұрын
Heyy! I use a tool called fig.io, I also made a video about it: kzbin.info/www/bejne/fn-5c2x6p9RliZY
@Yurtle13
@Yurtle13 Жыл бұрын
What is that .mjs file? How are you calling it? I would expect you to have it as part of your workflow somehow, instead seems like It's auto triggering fails and passes??
@DevLeonardo
@DevLeonardo Жыл бұрын
mjs is just a particular version of js files, but that's out of the scope of the video. The instructions works with every js file anyway :) Tests are executed with ava as the test runner, but this also works with jest, vitest or any other testing framework. How they usually work is matching all files having as name "test" or "spec" or being inside a folder called __test__. This is configurable for each test runner anyway. The github action runs "npm run test" and picks up everything that is configured. Anyway, you can look at the repo: github.com/Balastrong/github-actions-video
@Yurtle13
@Yurtle13 Жыл бұрын
Thank You! Between your answer and looking up the python equivalent workflow of what you were trying to do, eg: pytest w/ python it all started clicking
@micheleverriello
@micheleverriello Жыл бұрын
So useful! Thank you!
@DevLeonardo
@DevLeonardo Жыл бұрын
Glad it helped you! Have fun with GitHub Actions now, there's so much you can do with them! An indicator is the amount of video I'm making on this topic 😅
@dananjayachathuranga7113
@dananjayachathuranga7113 Жыл бұрын
thank you man !
@matheuslevi3513
@matheuslevi3513 Жыл бұрын
thanks man , you help a lot !!!
@DevLeonardo
@DevLeonardo Жыл бұрын
Glad to hear that, thank you :D Feel free to join Discord if you have any question, I'll be happy to help!
@mohanrr1974
@mohanrr1974 2 жыл бұрын
Thanks for this video. I tried it right away but the action seems to be running for ever. It is showing "build started 1h 10m ... Starting the job..."
@DevLeonardo
@DevLeonardo 2 жыл бұрын
Hey! If you run the tests in local do the command complete just fine? Feel free to link the repo so I can have a look :)
@Hei102
@Hei102 9 ай бұрын
Good video 👍
@DevLeonardo
@DevLeonardo 9 ай бұрын
Thanks 👍
@DevLeonardo
@DevLeonardo 2 жыл бұрын
If you want to run and test your GitHub Actions in local, without commit and push every time, here's how: kzbin.info/www/bejne/i5jSn5-iZcplhdU
@zakariafarah1256
@zakariafarah1256 10 ай бұрын
ur legend
How to Fork a Repository in Github | Complete Guide
2:53
WebStylePress
Рет қаралды 22 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Automated testing using GitHub Actions... easier than I thought
24:29
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 454 М.
GitHub Actions (Branch Protection, Automated Testing) - Full Tutorial
29:56
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,6 МЛН