Add Nearest Centroid tutorial (#60) #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: [push, pull_request, create] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-18.04, ubuntu-latest, macos-latest] | |
python: ['3.8', '3.9'] | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
python3 --version | |
python3 -m pip install -U pip | |
pip3 install requests pycodestyle | |
make ci | |
- name: Lint Code | |
run: make lint | |
- name: Run Tests | |
run: make tests |