Skip to content

Commit

Permalink
exe: fix and test PKG type marker
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Oct 13, 2023
1 parent be7be13 commit 5f7e900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
run: pip install -r requirements.txt
- name: Download dvc pkg
run: python download.py
- name: Set pkg type
shell: bash
run: echo 'PKG = "exe"' > dvc/dvc/_build.py
- name: Install dvc requirements
run: |
pip install .\dvc[all]
Expand All @@ -31,9 +34,6 @@ jobs:
# https://github.com/iterative/dvc/issues/9654
pip install flufl-lock==7.1.1
dvc doctor
- name: Set pkg type
shell: bash
run: echo 'PKG = "exe"' > dvc/_build.py
- name: Build binary
run: python build_bin.py
- name: Pull images
Expand Down
1 change: 1 addition & 0 deletions build_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
]

print(out)
assert "(exe)" in out.splitlines()[0]
for remote in remotes:
assert f"\t{remote}" in out, f"Missing support for {remote}"

0 comments on commit 5f7e900

Please sign in to comment.