Dear Codecademy Community and fellow GitHub users!
As I am fairly new to GitHub and am on the verge of finishing the Git&GitHub course, I faced an issue when trying to follow the tutorial GitHub Actions & Tutorial On Automated Testing. There, I had some issues on commiting the changes and pushing the branch to my remote repository. Most notably, I am not sure where (i.e. in which directory - add-automated-tests-off-platform-project, .github or workflows) I should execute the following commands:
git add . git commit -a -m “added a GitHub action to run unit tests automatically on code push” git push --set-upstream “add-auto-tests”
The steps before that, i.e. cloning the remote repository to my GitBash terminal, creating the .github/workflows/unittests.yam1 file worked well. When I try to execute the aforementioned code, however, I get the following error messages:
This happens when I execute the code from
These hinder the branch add-auto-tests from being pushed to my remote repository on GitHub.
Therefore, I kindly wanted to ask you what I missed or where my fault-of-thought here is. In case that this code needs to be executed in a specific directory, it would perhaps be of help to specify which one it is in the tutorial.
I’d like to greatly thank you in advance and am sending kind greetings for the day/evening!