Skip to content

improve comment clarity #6

improve comment clarity

improve comment clarity #6

name: cicd
# only run this workflow when something is pushed to main
on:
push:
branches:
- main
# define our jobs
jobs:
build_and_test:
# define our OS
runs-on: ubuntu-latest
# rely on predefined GitHub actions to setup our python environment
steps:
- uses: actions/checkout@v2
# setup python environment
- name: setup
uses: actions/setup-python@v2
with:
python-version: 3.9
# install prerequisite packages for testing
- name: install
run: |
python -m pip install --upgrade pip
pip install pytest
# run tests using pytest
- name: test
run: |
pytest tests/