Skip to content

Commit 203449f

Browse files
committed
ci(readme_generator): add a github actions to run tests
1 parent fcb4490 commit 203449f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Run tests for make_readme.py
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
name: Run tests for make_readme.py
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: 'Set up Python 3.9'
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.9'
15+
cache: 'pip'
16+
- name: install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r tools/readme_generator/requirements.txt
20+
pip install pytest
21+
- name: launch pytest
22+
run: cd tools/readme_generator && pytest tests

0 commit comments

Comments
 (0)