diff --git a/.github/workflows/test_ctypes_generation.yml b/.github/workflows/test_ctypes_generation.yml deleted file mode 100644 index 5ed4467..0000000 --- a/.github/workflows/test_ctypes_generation.yml +++ /dev/null @@ -1,20 +0,0 @@ -# V0.1 -name: Ctypes Generation - -on: [push, workflow_dispatch] - # Allows you to run this workflow manually from the Actions tab - -jobs: - build: - runs-on: windows-latest - timeout-minutes: 5 - strategy: - fail-fast: false - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - run: - py .\ctypes_generation\generate.py \ No newline at end of file diff --git a/.github/workflows/mypytest.yml b/.github/workflows/tests.yml similarity index 87% rename from .github/workflows/mypytest.yml rename to .github/workflows/tests.yml index 52f610b..5ef0dcd 100644 --- a/.github/workflows/mypytest.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,20 @@ on: [push, workflow_dispatch] # Allows you to run this workflow manually from the Actions tab jobs: - build: + generate_ctypes: + runs-on: windows-latest + timeout-minutes: 5 + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - run: + py .\ctypes_generation\generate.py + tests: + # Not a real dependency : but starting tests when ctypes generation is broken is not useful + needs: generate_ctypes runs-on: windows-latest timeout-minutes: 15 strategy: