Skip to content

Commit

Permalink
Running validate testcase on 1 job
Browse files Browse the repository at this point in the history
  • Loading branch information
dockmd committed Feb 7, 2024
1 parent 15961ef commit 42127c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/setup-python.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Setup-python

on:
workflow_run:
workflows:
- Build-validator
types:
- completed

jobs:
setup:
runs-on: ubuntu-latest
Expand Down
31 changes: 13 additions & 18 deletions .github/workflows/validate-testcases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ permissions:
contents: read

jobs:
checkout:
name: Checkout repositories
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout corpus repository
Expand All @@ -19,19 +18,15 @@ jobs:
with:
repository: E-ARK-Software/eark-validator
path: validator
build:
name: Build validator
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Print files
run: ls -R
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install validator/.
- name: Check validator
run: ip-check
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Print files
run: ls -R
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install validator/.
- name: Check validator
run: ip-check

0 comments on commit 42127c3

Please sign in to comment.