Skip to content

Using trig identity for sinc2d #11

Using trig identity for sinc2d

Using trig identity for sinc2d #11

Workflow file for this run

name: CI
# We can specify which Github events will trigger a CI build
on: [push, pull_request]
# now define a single job 'build' (but could define more)
jobs:
build:
# we can also specify the OS to run tests on
runs-on: ubuntu-latest
# a job is a seq of steps
steps:
# Next we need to checkout out repository, and set up Python
# A 'name' is just an optional label shown in the log - helpful to clarify progress - and can be anything
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Test with PyTest
run: |
cd code
python -m pytest --cov=mymath test_mymath.py test_mymath2.py
python -m pytest --cov=array_stats test_array_stats_pytest.py