File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+ jobs :
7+ ci :
8+ runs-on : ubuntu-26.04
9+ steps :
10+ - run : sudo apt-get update
11+ - run : sudo apt-get install -y lua5.1 liblua5.1-0-dev
12+ - run : lua -h || lua -v
13+ - uses : actions/checkout@v6
14+ - uses : actions/setup-python@v6
15+ with :
16+ python-version : 3.x
17+ - run : pip install --upgrade pip
18+ - env :
19+ PYTHON_LIBRT : " amd64" # "x64"
20+ run : pip install --editable . || true # TODO: Always fails even with $PYTHON_LIBRT defined!
21+ - run : pip install lunatic-python-universal # Workaround: Install from PyPI
22+ - shell : python # Sanity check
23+ run : |
24+ import lua
25+ lg = lua.globals()
26+ print(f"{lg = }")
27+ print(f"{lg.string = }")
28+ print(f"{lg.string.lower = }")
29+ print(f"{lg.string.lower('Hello world!') = }")
30+ assert lg.string.lower('Hello world!') != 'Hello world!'
31+ assert lg.string.lower('Hello world!') == 'hello world!'
You can’t perform that action at this time.
0 commit comments