Bump mw-plot from 0.11.0 to 0.11.1 in /extra_requirements #355
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 package | |
# Trigger this code when a new release is published | |
on: | |
workflow_dispatch: | |
release: | |
types: [ created ] | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
update: | |
name: "${{ matrix.test }}_py${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: False | |
matrix: | |
python-version: [ "3.8", "3.9", "3.10" ] | |
test: [ 'coveralls' ] | |
env: | |
NUMBA_DISABLE_JIT: 1 | |
steps: | |
# Setup and installation | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install requirements | |
run: | | |
sudo apt-get update | |
# sudo apt install texlive-full | |
sudo apt install texlive texlive-latex-extra texlive-fonts-recommended dvipng cm-super | |
pip install setuptools wheel | |
pip install -r extra_requirements/requirements-tests.txt | |
python setup.py develop | |
- name: Test package | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DISABLE_LATEX: 1 | |
PLOT_FAST: 1 | |
run: | | |
pytest --cov thesis_plots -v -n auto --nbmake notebooks/*.ipynb --durations 0 --nb-coverage | |
coverage run --append --source=thesis_plots -m pytest -v | |
coveralls --service=github | |
- name: Test notebooks with latex | |
env: | |
DISABLE_LATEX: 0 | |
PLOT_FAST: 1 | |
run: pytest --cov thesis_plots -v -n auto --nbmake notebooks/*.ipynb --durations 0 --nb-coverage | |
- name: goodbye | |
run: echo "tests done, bye bye" |