Skip to content

Add latex to test environment #7

Add latex to test environment

Add latex to test environment #7

Workflow file for this run

name: pytest
on:
push:
branches: [main] # branch to trigger deployment
# workflow_dispatch: # Un comment line if you also want to trigger action manually
defaults:
run:
shell: bash -l {0}
jobs:
conda_deployment_with_new_tag:
name: Conda deployment of package for platform ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: ["3.10"]
steps:
- name: Setup TeX Live
uses: teatimeguest/setup-texlive-action@v3
with:
packages: revtex4 ams*
- name: Checkout
uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: myenv
create-args: >-
python=3.10
pytest
numpy
pytest-md
pytest-emoji
matplotlib
- name: Run pytest
uses: pavelzw/pytest-action@v2
with:
verbose: true
emoji: true
job-summary: true
custom-arguments: '-q'
click-to-expand: true
report-title: 'Test Report'