mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
9d631a3429
* use python 3.10 to run fastapi tests * fix fastapi test call
16 lines
259 B
Bash
Executable File
16 lines
259 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
cd fastapi
|
|
git fetch --tags
|
|
latest_tag_commit=$(git rev-list --tags --max-count=1)
|
|
latest_tag=$(git describe --tags "${latest_tag_commit}")
|
|
git checkout "${latest_tag}"
|
|
|
|
pip install -U flit
|
|
flit install
|
|
|
|
./scripts/test.sh
|