Skip to content
GitHub Actions for Python
Branch: master
Clone or download
jefftriplett 🚜 Adds VENV_NAME
Thank you @sburns for the suggestion!
Latest commit ba888ad Jan 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore 🚜 Major refactor Jan 28, 2019
.gitignore Initial commit Jan 4, 2019
Dockerfile 🐳 Updates Docker Jan 29, 2019
LICENSE 🚜 Major refactor Jan 28, 2019
README.md 🚜 Major refactor Jan 28, 2019
entrypoint.sh 🚜 Adds VENV_NAME Jan 29, 2019

README.md

action-python

Usage

This example workflow would build, lint, and test a python project.

workflow "Build and Test" {
  on = "push"
  resolves = [
    "Test",
  ]
}

action "Build" {
  uses = "jefftriplett/python-actions@master"
  args = "pip install -r requirements.txt"
}

action "Lint" {
  uses = "jefftriplett/python-actions@master"
  args = "black --check"
  needs = ["Build"]
}

action "Test" {
  uses = "jefftriplett/python-actions@master"
  args = "pytest"
  needs = ["Lint"]
}
You can’t perform that action at this time.