Skip to content

Python package called `justatest` with self-hosted GH Action workflow

License

Notifications You must be signed in to change notification settings

ci-for-research/example-python-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example repo for a GitHub self-hosted runner

Contains a Python package called justatest and a unit test for it.

To test with your own runner

  1. Duplicate this repo
  2. Change visibility to private
  3. Set up runner as described in https://github.com/ci-for-research/self-hosted-runners
  4. Make change to repo to trigger GitHub Action workflow to run.

Install

poetry install

Usage

from justatest import sum
assert sum(2, 4) == 6

Run tests

poetry run pytest tests

About

Python package called `justatest` with self-hosted GH Action workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages