Running all in 1 step #15
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 | |
- name: Checkout validator repository | |
uses: actions/checkout@v4 | |
with: | |
repository: E-ARK-Software/eark-validator | |
path: validator | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Create virtual environment | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install virtualenv | |
cd validator/eark_validator | |
echo "${PWD##*/}" | |
virtualenv -p python3 venv | |
source venv/bin/activate | |
python -m pip install --upgrade pip | |
pip install . | |
ip-check | |
- name: Print files | |
run: ls -R | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: Print files | |
run: ls -R | |
- name: Check validator | |
run: ip-check | |
- name: Check validator | |
run: python validator/eark_validator/cli/app.py |