Files
pydantic/tests/test_fastapi.sh
T
Eric Jolibois 5ccbdcb590 chore(ci): remove warning filter for fastapi tests (#3001)
Now that https://github.com/tiangolo/fastapi/pull/2790 has been merged
in master, we don't need to filter those warnings anymore
2021-07-19 23:59:08 +01:00

16 lines
270 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
PYTHONPATH=./docs/src pytest