Skip to content

Add Tuple.next, Str.format, and inline a few fns #34

Add Tuple.next, Str.format, and inline a few fns

Add Tuple.next, Str.format, and inline a few fns #34

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo snap install --beta --classic zig
pip install pytest
zig version
- name: Run zig tests
run: zig test py.zig -I/usr/include -I$(python -c "import sysconfig;print(sysconfig.get_path(\"include\"))") -L$(python -c "import sysconfig;print(sysconfig.get_config_var(\"LIBDIR\"))") -lpython$(python -c "import sysconfig;print(sysconfig.get_python_version())")
- name: Build example
run: pip install ./example
- name: Run pytests
run: pytest tests