diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d45d0543..748e3f0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - name: Set up Python ${{ matrix.pyver }} uses: actions/setup-python@v5 with: @@ -33,14 +30,14 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - name: Set up Python 3.12 uses: actions/setup-python@v5 with: python-version: 3.12 - name: Install dependencies - run: pip install . && pip install pytest + run: | + pip install . && pip install pytest - name: Run tests - run: make test + run: | + $Env:PATH += ";${{ github.workspace }}\tests\mocks" + cd examples\projects && python3 vivado.py diff --git a/tests/mocks/vivado.bat b/tests/mocks/vivado.bat new file mode 100644 index 00000000..c9103301 --- /dev/null +++ b/tests/mocks/vivado.bat @@ -0,0 +1,2 @@ +@echo off +python3 "%~dp0vivado" %*