Skip to content

Commit c664bf2

Browse files
authored
Merge pull request #246 from ekaf/ci-install-nltk
Fix workflow: install nltk before building index.xml
2 parents c34f140 + 52fded3 commit c664bf2

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/pkg_index.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
1616

17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.x'
21+
22+
- name: Install dependencies
23+
run: pip install nltk
24+
1725
- name: Install make
1826
run: sudo apt-get update && sudo apt-get install -y make
1927

packages/corpora/mock_corpus.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
<package>
2-
<id>mock_corpus</id>
3-
<name>Mock Corpus</name>
4-
<description>This is a mock corpus for testing the index.xml automation workflow. It can be safely added and removed.</description>
5-
<checksum type="md5">8136ac6c6ad5fc5f7c11211177166490</checksum>
6-
<filesize>454</filesize>
7-
<unzip>true</unzip>
8-
<license type="free">Test-only</license>
9-
<url>mock_corpus.zip</url>
10-
<readme>mock_corpus_README.txt</readme>
11-
</package>
1+
<package
2+
id="mock_corpus"
3+
name="Mock Corpus"
4+
description="This is a mock corpus for testing the index.xml automation workflow. It can be safely added and removed."
5+
unzip="1"
6+
license="Public Domain"
7+
/>

packages/corpora/mock_corpus.zip

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)