Skip to content

Commit

Permalink
correct wf
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatsic committed Sep 28, 2024
1 parent bdfe25a commit bade7a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-plat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pytest
- name: Install requirements
run: "pip install -r requirements.txt"
- name: Plat tests
run: "doit plat_test"
4 changes: 3 additions & 1 deletion dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def run(args):
def task_dist():
"""Create dist"""
def run(args):
shutil.rmtree(repo_path / "dist")
dist_path = repo_path / "dist"
if dist_path.exists():
shutil.rmtree(dist_path)
subprocess.run(['python', "-m", "build", "-sw"])

return {'actions': [run], 'pos_arg': 'args'}
Expand Down

0 comments on commit bade7a9

Please sign in to comment.