Create test_readme.yml

This commit is contained in:
Mohamed Elashri 2024-11-12 14:22:41 +00:00 committed by GitHub
parent f384e40f7c
commit ad898dce04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/test_readme.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Test README Generation
on:
pull_request:
branches: ['**']
paths:
- '_README.md'
jobs:
test-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate README.md (Test Only)
run: |
python3 generate_readme.py _README.md > README.md
- name: Show README.md output
run: |
cat README.md