Wokflow para validar materials #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Materials | |
on: | |
push: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run validation script | |
run: | | |
export PYTHONPATH=$(pwd) # Adiciona o diretório raiz ao PYTHONPATH | |
python curadoria_coletiva/validate_materials.py |