Skip to content

Commit b1add00

Browse files
committed
...
1 parent 8c5d588 commit b1add00

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/run_tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0 # Fetch full history for setuptools_scm
2224

2325
- name: Log reason (manual run only)
2426
if: github.event_name == 'workflow_dispatch'
@@ -30,11 +32,20 @@ jobs:
3032
with:
3133
python-version: 3.13
3234

35+
- name: Install system dependencies
36+
run: |
37+
sudo apt-get update
38+
sudo apt-get install -y build-essential pkg-config zlib1g-dev libtool autotools-dev
39+
3340
- name: Install dependencies
3441
run: |
3542
python -m pip install --upgrade pip
3643
python -m pip install setuptools>=61.0
3744
python -m pip install -r requirements.txt
45+
46+
- name: Download OTS source
47+
run: |
48+
python setup.py download --version=9.2.0 --sha256=1a1e50cd7ecea27c4ef04c5b1491c21e75555f35bf91e27103ede04ddd11e053
3849
3950
- name: Lint with flake8
4051
run: flake8 . --show-source --statistics
@@ -44,7 +55,7 @@ jobs:
4455

4556
- name: Build and install
4657
run: |
47-
python -m pip install .
58+
python -m pip install -v .
4859
4960
- name: Test with pytest
5061
run: |

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ build-backend = "setuptools.build_meta"
66
name = "pyots"
77
description = "Python wrapper for ot-sanitizer"
88
readme = "README.md"
9-
license = {text = "BSD-3-Clause"}
9+
license = "BSD-3-Clause"
1010
authors = [
1111
{name = "Adobe Type team & friends", email = "afdko@adobe.com"}
1212
]
1313
classifiers = [
1414
"Development Status :: 4 - Beta",
1515
"Intended Audience :: Developers",
1616
"Topic :: Software Development :: Testing",
17-
"License :: OSI Approved :: BSD License",
1817
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)