mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
54 stars 154 forks source link

Cannot find "builds" #387

Closed PArellano02 closed 1 year ago

PArellano02 commented 1 year ago

I followed the instructions for the homework and committed the Fixme.py file

I can see the file in my repository but when I go to the "actions" tab I cannot find the "builds"

This is a screenshot of my actions tab

Screen Shot 2023-01-23 at 5 52 41 PM

should I try committing the Fixme.py file again?

mikeizbicki commented 1 year ago

The github actions run whenever you run the command git push from the lambda server. If you didn't have actions enabled on the repo when you first ran the command, then you'll have to rerun it from the lambda server. In order to successfully run the command, however, you also need a new commit to push. So you'll have to first edit a file with vim, then run git add and git commit, and then you can push. Once you do that, then the actions should run.

tylerting commented 1 year ago

Hi Mike, I had the same problem. I finished working with Fixme.py and entered vim for Fixme.py but made no edit since I was already made all the necessary changes. I then run git add, git commit and git push but still was not able to find any builds in the action section.

Should I start over again?

mikeizbicki commented 1 year ago

The problem is that

made no edit since I was already made all the necessary changes

so git add doesn't do anything. (You can only add files that have changed.)

So you must make a change somewhere in order to add that file. It can be an innocuous change like just adding a line at the end of the README.md file. The change doesn't have to be in the python file for github actions to run on the python file.