updating docs and adding the possibility of plotting the gradient of … #112
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: windows_tests | |
on: | |
push: | |
branches: | |
- main # Change this to your main branch name if different | |
jobs: | |
windows: | |
if: contains(github.event.head_commit.message, 'test') | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: [ '3.10', '3.11' ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run unit tests | |
run: python -m unittest discover -s ./tests -t . | |
no-op: | |
if: "!contains(github.event.head_commit.message, 'test')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: No operation | |
run: echo "No tests to run" |