Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 714 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 714 Bytes

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