Skip to content

Commit 3d9bfb5

Browse files
committed
Add 'validate-dependency-specification' job to dm workflow.
1 parent 18de910 commit 3d9bfb5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/dm.yml

+20
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ on:
1717

1818
jobs:
1919

20+
validate-dependency-specification:
21+
# Note: The specification is also validated by the pre-commit hook.
22+
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 5
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
- name: Set up Python 3.7
30+
uses: actions/setup-python@v1
31+
with:
32+
python-version: 3.7
33+
34+
- name: Install dm-script dependencies
35+
run: pip install click~=7.0 pyyaml~=5.1 toml
36+
37+
- name: Validate
38+
run: python ./utils/dependency_management.py validate-all
39+
2040
install-with-pip:
2141

2242
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)