Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hroncok/tox-github-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run Tox tests Run tests with code in this repository

Tox Github Action

This GitHub action tests a checked-out Python project using Tox.

Usage

- uses: fedora-python/tox-github-action
  with:
    # The tox environment to run
    # Default: py38 (subject to change as new Python releases come out)
    tox_env: py38

Add the action to your workflow file, e.g. .github/workflows/main.yml, after checking out your code.

You can use the matrix strategy to run with multiple Tox environments. For an example, see this project's workflow. Unfortunately, you need to repeat all the environment names from your Tox configuration. (As far as we know, this is required in order to have individual environments show up as separate runs on GitHub. Discuss this limitation in issue 8.)

License

The code, content and configuration in this repository is given away unter the CC0 1.0 Universal Public Domain Dedication: https://creativecommons.org/publicdomain/zero/1.0/

May it serve you well!

About

Run Tox tests on Fedora for Github pushes & pull requests

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%