ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

CI/CD for Machine Learning

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio