Fix docstring reference to microdata dictionary name #127
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: Build Package and Test Source Code [Python 3.9, 3.10, 3.11] | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ["3.9", "3.10", "3.11"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
persist-credentials: false | |
- name: Setup TeX Live | |
uses: teatimeguest/setup-texlive-action@v3 | |
with: | |
packages: >- | |
scheme-basic | |
cleveref | |
hyperref | |
iftex | |
listings | |
fancyvrb | |
longtable | |
booktabs | |
graphicx | |
bookmark | |
xcolor | |
soul | |
geometry | |
setspace | |
babel | |
etoolbox | |
footnote | |
- name: Setup Miniconda using Python ${{ matrix.python-version }} | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: taxbrain-dev | |
environment-file: environment.yml | |
python-version: ${{ matrix.python-version }} | |
auto-activate-base: false | |
- name: Build | |
shell: bash -l {0} | |
run: | | |
pip install -e . | |
pip install pytest-cov | |
pip install pytest-pycodestyle | |
- name: Test | |
shell: bash -l {0} | |
working-directory: ./ | |
run: | | |
pytest -m 'not requires_pufcsv and not requires_tmdcsv' --cov=./ --cov-report=xml | |
- name: Upload coverage to Codecov | |
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'PSLmodels/Tax-Brain') | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
file: ./coverage.xml | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: true | |
verbose: true |