From 4cd3a9cdf65a8f0b96de21420b98b8e02181e4f4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 30 Mar 2026 11:49:10 +0200 Subject: move testing-only things into test/ --- .github/workflows/basic.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.github/workflows/basic.yml') diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 5b1f63e..fa2bc0a 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -51,10 +51,9 @@ jobs: python -m project.boost.build boost/ filesystem - name: Build example project run: | - $src_dir = Join-Path examples boost - python -m project.build --boost boost/ --install install/ -- $src_dir build/ + python -m project.build --boost boost/ --install install/ -- test/examples/boost/ build/ - name: Run example project - run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo) + run: ./test/examples/boost/run.ps1 ./install/bin/foo # Check that the most basic use-case works w/ different Python versions. python-versions: @@ -96,10 +95,9 @@ jobs: boost-build boost/ filesystem - name: Build example project run: | - $src_dir = Join-Path examples boost - project-build --boost boost/ --install install/ -- $src_dir build/ + project-build --boost boost/ --install install/ -- test/examples/boost/ build/ - name: Run example project - run: ./.ci/run_foo.ps1 (Join-Path (Get-Location).Path install bin foo) + run: ./test/examples/boost/run.ps1 ./install/bin/foo # Build a Python package and upload to PyPI. publish: -- cgit v1.3