From 4620a7fb71934feb72a2865b74e822b18bda8123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Mon, 12 Dec 2022 11:41:29 +0100 Subject: [PATCH] Debug with MacOS builds --- .github/workflows/ci.yml | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82d7c8ee..cdd7ef29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - platform: ubuntu-latest python-version: '3.11' py: py311 - - platform: macos-latest + - platform: macos-10.15 python-version: 3.7 py: py37 - platform: macos-latest @@ -66,29 +66,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Hatch run: pip install -U hatch - - name: Get MD4C version - if: runner.os == 'macOS' - uses: oprypin/find-latest-tag@v1 - id: md4c_version - with: - repository: mity/md4c - prefix: release- - - name: Fetch MD4C - uses: actions/checkout@v3 - if: runner.os == 'macOS' - with: - repository: mity/md4c - ref: ${{steps.md4c-version.outputs.tag}} - path: md4c-lib - - name: Build MD4C - if: runner.os == 'macOS' - run: | - mkdir md4c-lib/build - cd md4c-lib/build - cmake -DCMAKE_BUILD_TYPE=Release .. - cmake --build . --config Release - cmake --install . - ldconfig + - name: Install mdpo for testing + run: pip install --debug . - name: Run tests run: hatch run +py=${{ matrix.py }} tests:all - name: Coveralls