Full docstrings #101
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/README.rst' | |
- 'docs/**' | |
- '.github/workflows/**' | |
- '**/.readthedocs.yml' | |
- '**/COPYING' | |
- '**/.gitignore' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**/README.rst' | |
- 'docs/**' | |
- '.github/workflows/**' | |
- '**/.readthedocs.yml' | |
- '**/COPYING' | |
- '**/.gitignore' | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
run: | | |
pip install poetry | |
- name: Install dependencies | |
run: | | |
poetry install | |
pip install tox tox-gh-actions | |
- name: Test with tox | |
run: poetry run tox | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: GauravPandeyLab/eipy |