build(deps): bump actions/checkout from 3 to 4 #23
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: Test Suite | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Test Suite | |
runs-on: ${{ matrix.os }} | |
# defaults: | |
# run: | |
# shell: bash -l {0} | |
env: | |
ENV_NAME: testing | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Package and Test Deps | |
run: | | |
echo $(which python) | |
python -m pip install .[tests] | |
- name: Run Tests | |
run: | | |
python -m pytest --cov-config=.coveragerc --cov-report xml:./coverage.xml | |
- uses: codecov/codecov-action@v3 | |
if: success() | |
with: | |
file: ./coverage.xml #optional |