Skip to content

Bump the ci-dependencies group with 6 updates #209

Bump the ci-dependencies group with 6 updates

Bump the ci-dependencies group with 6 updates #209

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_wheels:
name: Build wheels for ${{ matrix.platform-id }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
platform-id: manylinux_x86_64
- os: ubuntu-20.04
platform-id: manylinux_aarch64
- os: windows-2019
platform-id: win_amd64
- os: macos-11
platform-id: macosx_x86_64
- os: macos-14
platform-id: macosx_arm64
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up QEMU
if: matrix.platform-id == 'manylinux_aarch64'
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
with:
platforms: arm64
- name: Build wheels
uses: pypa/cibuildwheel@932529cab190fafca8c735a551657247fa8f8eaf # v2.19.1
env:
CIBW_BUILD: cp310-${{ matrix.platform-id }}
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
path: ./wheelhouse/*.whl
retention-days: 1
run_tests:
needs: [build_wheels]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13, ubuntu-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Clone repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Download wheels
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: artifact
path: dist
- name: Install the library
run: pip install --no-index --find-links dist coreforecast
- name: Run tests
run: pytest --benchmark-group-by=param:scaler_name --benchmark-sort=fullname
run_tests-macos-arm64:
needs: [build_wheels]
runs-on: macos-14
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11']
steps:
- name: Clone repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Download wheels
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: artifact
path: dist
- name: Install the library
run: pip install --no-index --find-links dist coreforecast
- name: Run tests
run: pytest --benchmark-group-by=param:scaler_name --benchmark-sort=fullname