Workflow fixes #19
Workflow file for this run
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 testcases | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout corpus repository | |
uses: actions/checkout@v4 | |
with: | |
path: corpus | |
ref: integration | |
- name: Checkout validator repository | |
uses: actions/checkout@v4 | |
with: | |
repository: E-ARK-Software/eark-validator | |
path: validator | |
ref: integration | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Setup virtual environment | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install virtualenv | |
cd validator | |
virtualenv -p python3 venv | |
source venv/bin/activate | |
pip install . | |
- name: Validate test cases | |
run: | | |
cd corpus | |
./validate-all-testcases |