Skip to content

chore(cargo): bump utoipa-swagger-ui from 6.0.0 to 7.0.1 #981

chore(cargo): bump utoipa-swagger-ui from 6.0.0 to 7.0.1

chore(cargo): bump utoipa-swagger-ui from 6.0.0 to 7.0.1 #981

Workflow file for this run

name: lint and test
on:
pull_request:
paths:
- '.github/workflows/check.yml'
- 'mosec/**'
- 'src/**'
- 'tests/**'
- 'examples/**'
- 'setup.py'
- 'Cargo.lock'
- 'Cargo.toml'
- 'requirements/**'
push:
branches:
- main
paths:
- '.github/workflows/check.yml'
- 'mosec/**'
- 'src/**'
- 'tests/**'
- 'examples/**'
- 'setup.py'
- 'requirements/**'
merge_group:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: make install
- name: install node for pyright
uses: actions/setup-node@v4
with:
node-version: 18
- name: install pyright
run: npm install -g pyright
- name: Lint
run: make lint
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
max-parallel: 10
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest , macos-13, macos-14]
exclude:
- python-version: "3.8"
os: "macos-14"
- python-version: "3.9"
os: "macos-14"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev,mixin]
rustup component add clippy
make dev
- name: Test
run: |
make semantic_lint test
- name: Test shm in Linux
# ignore the shm test for Python 3.12 since pyarrow doesn't have py3.12 wheel with version < 12
if: ${{ startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.python-version, '3.12') }}
run: |
sudo apt update && sudo apt install redis
make test_shm