Merge pull request #11 from Point72/bump-v0.1.0 #49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Conda End-to-end Test | |
| env: | |
| SANITIZER_CI_SCHEDULE: '25 6 * * 5' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - LICENSE | |
| - NOTICE | |
| - README.md | |
| - "docs/**" | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - LICENSE | |
| - NOTICE | |
| - README.md | |
| - "docs/**" | |
| workflow_dispatch: | |
| schedule: | |
| # Run conda CI on Monday and Thursday at 1:25am EST (06:25 UTC) | |
| - cron: '25 6 * * 1,4,5' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| checks: write | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-24.04 | |
| - macos-14 | |
| - windows-2022 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3 | |
| with: | |
| micromamba-version: '2.3.2-0' | |
| environment-file: conda/dev-environment-unix.yml | |
| init-shell: >- | |
| bash | |
| cache-environment: true | |
| cache-downloads: true | |
| post-cleanup: 'all' | |
| if: ${{ runner.os != 'Windows' }} | |
| - uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3 | |
| with: | |
| micromamba-version: '2.3.2-0' | |
| environment-file: conda/dev-environment-win.yml | |
| init-shell: >- | |
| cmd.exe | |
| cache-environment: true | |
| cache-downloads: true | |
| post-cleanup: 'all' | |
| if: ${{ runner.os == 'Windows' }} | |
| - name: Python Lint Steps | |
| run: make lint | |
| shell: micromamba-shell {0} | |
| if: ${{ runner.os != 'Windows' }} | |
| - name: Python Lint Steps (Windows) | |
| run: make lint | |
| shell: cmd /C call {0} | |
| if: ${{ runner.os == 'Windows' }} | |
| - name: Python Build Steps (Linux) | |
| run: make build | |
| shell: micromamba-shell {0} | |
| if: ${{ runner.os == 'Linux' }} | |
| - name: Python Build Steps (macOS) | |
| run: make build | |
| shell: micromamba-shell {0} | |
| if: ${{ runner.os == 'macOS' }} | |
| - name: Python Build Steps (Windows) | |
| run: make build | |
| shell: cmd /C call {0} | |
| if: ${{ runner.os == 'Windows' }} | |
| - name: Python Test Steps | |
| run: make test | |
| shell: micromamba-shell {0} | |
| if: ${{ runner.os != 'Windows' }} | |
| - name: Python Test Steps (Windows) | |
| run: make test | |
| shell: cmd /C call {0} | |
| if: ${{ runner.os == 'Windows' }} |