LinkedIn learning github actions challenge CI/CD pipline
two stage CI/CD pipeline for a python script.
- holds a simple python script: hello.py
print('hello, world')
- workflow triggered by
push
- two jobs first job
- checkout repo
- test script by running it. run the script second job
- depends on first job
- checkout repo
- create artifact