Skip to content

Workflow fixes

Workflow fixes #19

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