1717 lint :
1818 strategy :
1919 matrix :
20- python-version : [ "3.9","3.10","3.11" ]
20+ python-version : [ "3.9","3.10","3.11", "3.12", "3.13" ]
2121 runs-on : ubuntu-latest
2222 steps :
2323 - uses : actions/checkout@v4
6767 environment : ci
6868 strategy :
6969 matrix :
70- python-version : [ "3.9","3.10","3.11" ]
70+ python-version : [ "3.9","3.10","3.11", "3.12", "3.13" ]
7171 runs-on : ubuntu-latest
7272 needs : [ lint ]
7373 steps :
8686 environment : ci
8787 strategy :
8888 matrix :
89- python-version : [ "3.9","3.10","3.11" ]
89+ python-version : [ "3.9","3.10","3.11", "3.12", "3.13" ]
9090 runs-on : ubuntu-latest
9191 needs : [ lint ]
9292 steps :
@@ -105,7 +105,27 @@ jobs:
105105 test_ingest_unit :
106106 strategy :
107107 matrix :
108- python-version : [ "3.9","3.10" ]
108+ python-version : [ "3.9","3.10","3.11", "3.12", "3.13" ]
109+ runs-on : ubuntu-latest
110+ needs : [ lint ]
111+ steps :
112+ # actions/checkout MUST come before auth
113+ - uses : ' actions/checkout@v4'
114+ - name : Set up Python ${{ matrix.python-version }}
115+ uses : actions/setup-python@v5
116+ with :
117+ python-version : ${{ matrix.python-version }}
118+ - name : Test Ingest (unit)
119+ run : |
120+ make install-base
121+ make install-test
122+ make unit-test
123+
124+ test_ingest_unit_unstructured :
125+ strategy :
126+ matrix :
127+ # TODO include 3.13 when unstructured supports it
128+ python-version : [ "3.9","3.10","3.11", "3.12"]
109129 runs-on : ubuntu-latest
110130 env :
111131 NLTK_DATA : ${{ github.workspace }}/nltk_data
@@ -122,4 +142,5 @@ jobs:
122142 make install-base
123143 make install-test
124144 pip install unstructured
125- make unit-test
145+ python -m nltk.downloader -d $NLTK_DATA punkt_tab averaged_perceptron_tagger_eng
146+ make unit-test-unstructured
0 commit comments