Refactor smc.py to use iloc instead of indexing for high and low values #17
Workflow file for this run
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: Run Unittest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, closed] | |
jobs: | |
run_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.3.2" | |
- name: Install Dependencies | |
run: poetry install | |
- name: Pytest | |
run: poetry run pytest | |
env: | |
HEAD: ${{ github.ref }} |