Skip to content

install pytest

install pytest #38

Workflow file for this run

name: python-pkg
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: self-hosted
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Set up Python
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
# Runs a set of commands using the runner's shell
- name: install package and test
run: |
pip install pytest
pip install .
pytest -v