Skip to content

Use pull_request instead of pull_request_target #99

Use pull_request instead of pull_request_target

Use pull_request instead of pull_request_target #99

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install black
run: |
pip install black
- name: Run black (check only)
run: |
black --check .
- name: Run maxdiff tests
run: |
cd maxdiff
python3 tests/test.py