drop pull_request_target #162
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validate | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
validate: | |
name: Syntax check all code in repository | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-13, ubuntu-latest] | |
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
submodules: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Show Config | |
run: | | |
gcc --version | |
- name: Test | |
run: | | |
python -m pip install -U pip | |
pip install -r test-requirements.txt | |
./build_judy.sh | |
(cd tests && ./compile.sh) | |
pip install . | |
(cd tests && ./a.out --unit-test) | |
PYTHONPATH=$(pwd) python -m twisted.trial tests.python_api |