Skip to content

Clean up project configuration 🐞 #24

Clean up project configuration 🐞

Clean up project configuration 🐞 #24

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.9]
# Needed by miniconda
# https://github.com/marketplace/actions/setup-miniconda#important
defaults:
run:
shell: bash -l {0}
steps:
- name: Git clone
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
channels: defaults, conda-forge
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install .[dev]
- name: Test with pytest
run: pytest -v --cov=tclf --pyargs tclf
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2