Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,20 @@ jobs:
- name: Run landing-page tests
run: python3 -m unittest discover -s site -p 'test_*.py'

- name: Run signup lifecycle tests
run: node --test Tests/Site/signup.test.cjs

- name: Check scripts and property lists
run: |
zsh -n scripts/*.sh
plutil -lint scripts/Info.plist scripts/QuickLook-Info.plist scripts/QuickLook.entitlements

- name: Verify the Universal 2 application bundle
run: |
./scripts/build-app.sh
codesign --verify --deep --strict dist/PreviewMD.app
codesign --verify --strict dist/PreviewMD.app/Contents/PlugIns/PreviewMDQuickLook.appex

dco:
name: DCO sign-off
if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'dependabot[bot]'
Expand Down
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ spctl --assess --type open --context context:primary-signature --verbose=4 \
dist/PreviewMD-<version>-<build>-macOS.dmg
```

The most recently accepted release is PreviewMD `1.7 (11)`.
The most recently accepted release is PreviewMD `1.8 (12)`. Its application
notarization submission is `561f54d2-cace-4732-aa60-569e2f2b9cdb`; the final
DMG submission is `efdec2e8-a377-4607-8bd4-3dea9ee9df78`.

## Versioning

Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Useful checks:
```bash
swift test
python3 -m unittest discover -s site -p 'test_*.py'
node --test Tests/Site/signup.test.cjs
zsh -n scripts/*.sh
./scripts/build-app.sh
```
Expand Down Expand Up @@ -93,7 +94,9 @@ In particular:
## Tests and reviewability

Prefer a failing test before a bug fix when the behavior can be isolated.
Tests live in `Tests/PreviewMDTests/`; site tests live in `site/test_server.py`.
Native and renderer tests live in `Tests/PreviewMDTests/`. Server tests live in
`site/test_server.py`; signup lifecycle tests execute the actual modal JavaScript
from `Tests/Site/signup.test.cjs`, outside the public document root.

In a pull request, include:

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Run the test suite:
```bash
swift test
python3 -m unittest discover -s site -p 'test_*.py'
node --test Tests/Site/signup.test.cjs
```

Build the Universal 2 app bundle used for local testing:
Expand Down
Loading