Skip to content

Commit

Permalink
Add CI to obsidian
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-s committed Dec 27, 2024
1 parent 0f10103 commit b6c2ce1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflow/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python Tests

on:
pull_request:
branches: [ main ] # or 'master' depending on your default branch name

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # you can specify a specific version like '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Run tests
run: |
pytest pelican/plugins/tests

0 comments on commit b6c2ce1

Please sign in to comment.