Skip to content

gh-20: Add coercion arithmatic operators. #10

gh-20: Add coercion arithmatic operators.

gh-20: Add coercion arithmatic operators. #10

Workflow file for this run

name: Run test.asmln and mypy
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python 3.14
uses: actions/setup-python@v4
with:
python-version: "3.14"
- name: Install numpy, pillow, and mypy
run: |
python -m pip install --upgrade pip
pip install numpy pillow mypy
shell: pwsh
- name: Run test with asm-lang.exe (if present)
run: |
if (Test-Path .\asm-lang.exe) {
Write-Host "Found asm-lang.exe - running .\asm-lang.exe .\test.asmln"
.\asm-lang.exe .\test.asmln
} else {
Write-Host "asm-lang.exe not found - skipping this step"
}
shell: pwsh
- name: Run test with asm-lang.py (if present)
run: |
if (Test-Path .\asm-lang.py) {
Write-Host "Found asm-lang.py - running python .\asm-lang.py .\test.asmln"
python .\asm-lang.py .\test.asmln
} else {
Write-Host "asm-lang.py not found - skipping this step"
}
shell: pwsh
- name: Run mypy on selected files
run: |
Write-Host "Running mypy on: .\asm-lang.py .\ext\networking.py .\ext\win32.py .\lib\gui\gui.py .\lib\image\image.py"
python -m mypy --show-error-codes .\asm-lang.py .\ext\networking.py .\ext\win32.py .\lib\gui\gui.py .\lib\image\image.py
shell: pwsh