Running Python code in GitHub Actions
In this exercise, you will practice writing GitHub Actions workflow that runs a Python script. The workflow gets triggered by opening a pull request against the main
branch.
Upon completing this exercise, you will be adept at crafting GitHub Actions workflows for Python scripts. You will grasp the concept of triggering workflows with pull requests, configuring the runner environment using actions, and executing Python scripts seamlessly. This foundational knowledge enables you to automate Python-related tasks within software development workflows using GitHub Actions.
NOTE: Use python3
instead of python
to run Python scripts.
Cet exercice fait partie du cours
CI/CD for Machine Learning
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
