Testing venv #12
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: Enter validator directory | |
run: cd validator/eark_validator | |
- name: Crete virtual environment | |
run: | | |
virtualenv -p python3 venv | |
source venv/bin/activate | |
- 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 |