Skip to content

Bump thiserror from 2.0.6 to 2.0.7 #934

Bump thiserror from 2.0.6 to 2.0.7

Bump thiserror from 2.0.6 to 2.0.7 #934

Workflow file for this run

on:
push:
branches:
- "*"
- "*/*"
- "**"
- "!main"
- "!master"
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: just
- uses: Swatinem/rust-cache@v2
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
- run: just ci
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64]
# target: [x86_64, x86, aarch64, armv7]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter --verbose
sccache: "true"
working-directory: ./utiles-pyo3
# manylinux: auto
- name: pytest
if: ${{ startsWith(matrix.target, 'x86_64') }}
shell: bash
run: |
set -e
cd utiles-pyo3
pip install click
pip install utiles --no-index --no-deps --find-links dist --force-reinstall
pip install -r requirements/dev.txt
pytest --benchmark-disable
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.target }}
# args: --release --out dist --find-interpreter --verbose
# sccache: "true"
# manylinux: auto
#
# - name: pytest
# if: ${{ startsWith(matrix.target, 'x86_64') }}
# shell: bash
# run: |
# set -e
# pip install click
# pip install utiles --no-index --no-deps --find-links dist --force-reinstall
# pip install -r requirements/dev.txt
# pytest
# - name: pytest
# if: ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
# uses: uraimo/[email protected]
# with:
# arch: ${{ matrix.target }}
# distro: ubuntu22.04
# githubToken: ${{ github.token }}
# install: |
# apt-get update
# apt-get install -y --no-install-recommends python3 python3-pip
# pip3 install -U pip pytest
# pip3 install -r requirements/dev.txt
# run: |
# set -e
# pip install click
# pip3 install utiles --no-index --no-deps --find-links dist --force-reinstall
# pip3 install -r requirements/dev.txt
# pytest