diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9342bb9..b7ed7a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,10 +29,9 @@ jobs: python -m pip install --upgrade --upgrade-strategy eager -e ".[dev]" - name: Run tests - env: - PREFECT_ORION_DATABASE_CONNECTION_URL: "sqlite+aiosqlite:///./orion-tests.db" run: | - prefect orion database reset -y + prefect config set PREFECT_API_DATABASE_CONNECTION_URL="sqlite+aiosqlite:///./orion-tests.db" + prefect server database reset -y coverage run --branch -m pytest tests -vv coverage report - name: "Upload coverage to Codecov" diff --git a/README.md b/README.md index 437ddd9..759d104 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,10 @@ The best way to get started with Fugue is to work through the 10 minute tutorial ### Python setup -Requires an installation of Python 3.7+. +Requires an installation of Python 3.8+. We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv. -These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the [Prefect documentation](https://orion-docs.prefect.io/). - ### Installation Install `prefect-fugue` with `pip`: diff --git a/orion-tests.db b/orion-tests.db new file mode 100644 index 0000000..639a5b0 Binary files /dev/null and b/orion-tests.db differ