From 0c6cf91229321d9898ccacbb2f1023fe9dbb7f04 Mon Sep 17 00:00:00 2001 From: Jungtaek Kim Date: Tue, 27 Feb 2024 18:23:43 -0500 Subject: [PATCH] Fix an error for pytest.yml --- .github/workflows/pytest.yml | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c17eb06..a313416 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -19,8 +19,9 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install this project and its dependencies run: | + pip install --upgrade pip pip install .[dev] - name: Run pytest run: | diff --git a/pyproject.toml b/pyproject.toml index ae7fc5f..5e78b82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ Homepage = "https://bayeso.org" Source = "https://github.com/jungtaekkim/bayeso-benchmarks" Issues = "https://github.com/jungtaekkim/bayeso-benchmarks/issues" -[tool.pip-compile.optional-dependencies] +[project.optional-dependencies] dev = [ "pytest", "scipy",