Skip to content

v0.3 release, fixes parsing failure and bumps dependencies #33

v0.3 release, fixes parsing failure and bumps dependencies

v0.3 release, fixes parsing failure and bumps dependencies #33

Workflow file for this run

---
name: CI
on:
push:
branches: master
pull_request:
branches: master
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
permissions:
contents: read
jobs:
ci:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: setup-python-step
with:
python-version-file: .python-version
- name: Python Poetry Action
uses: abatilo/actions-poetry@v3
with:
poetry-version: latest
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
detached: true
- name: Run tests
shell: bash
run: |
make --version
make test
- name: run install test
shell: bash
run: |
cd ..
pipx install md2enex/ --python '${{ steps.setup-python-step.outputs.python-path }}'
md2enex md2enex/tests/test1
echo install test successful!