diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a964e8..3d3d696 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,9 +60,9 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-latest] - # include: - # - os: macos-latest - # python-version: '3.12' + include: + - os: macos-latest + python-version: '3.13' runs-on: ${{ matrix.os }} @@ -77,26 +77,38 @@ jobs: timeout-minutes: 15 env: GEMINI_CIROOT: ${{ github.workspace }}/ci + GEMCI_ROOT: ${{ github.workspace }}/gemci - name: upload test files if failed if: failure() uses: actions/upload-artifact@v4 with: name: input-test-files - path: ${{ github.workspace }}/ci + path: ${{ github.workspace }}/pytest - uses: ./.github/workflows/composite-pkg + if: runner.os == 'Linux' timeout-minutes: 15 - uses: ./.github/workflows/composite-gemini3d + if: runner.os == 'Linux' timeout-minutes: 15 - name: Executable tests - run: pytest ${{ github.workspace }} -m "exe" + if: runner.os == 'Linux' + run: pytest ${{ github.workspace }} -m "exe" --basetemp=${{ github.workspace }}/pytest env: GEMCI_ROOT: ${{ github.workspace }}/gemci GEMINI_CIROOT: ${{ github.workspace }}/ci + - name: upload test files if failed + if: failure() + uses: actions/upload-artifact@v4 + with: + name: exe-test-files + path: ${{ github.workspace }}/pytest + + # codecov coverage # - run: pip install codecov pytest-cov # - run: pytest --cov --cov-report=xml diff --git a/.github/workflows/composite-python/action.yml b/.github/workflows/composite-python/action.yml index ab5b855..b9d21e6 100644 --- a/.github/workflows/composite-python/action.yml +++ b/.github/workflows/composite-python/action.yml @@ -13,7 +13,5 @@ runs: shell: bash - name: Non-executable tests - run: pytest ${{ github.workspace }} -m "not exe" + run: pytest ${{ github.workspace }} -m "not exe" --basetemp=${{ github.workspace }}/pytest shell: bash - env: - GEMCI_ROOT: ${{ github.workspace }}/gemci