From a3c27f8f09c76c80760f7a7ea796580851af7fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Tue, 10 Oct 2023 18:44:58 -0600 Subject: [PATCH] Clean up --- .github/workflows/codspeed.yml | 29 +++++++++++------------------ .github/workflows/test.yml | 1 - 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 5250e25cb..2c710150a 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -16,37 +16,30 @@ jobs: - name: Check out the repository uses: actions/checkout@v4.1.0 - # - name: Install Poetry - # env: - # PIP_CONSTRAINT: .github/workflows/constraints.txt - # run: | - # pipx install poetry - # poetry --version + - name: Install Poetry + env: + PIP_CONSTRAINT: .github/workflows/constraints.txt + run: | + pipx install poetry + poetry --version - name: Setup Python 3.11 uses: actions/setup-python@v4.7.1 with: python-version: 3.11 architecture: x64 - # cache: 'poetry' - - - name: Install poetry - run: | - curl -fsS https://install.python-poetry.org | python - -y + cache: 'poetry' - name: Configure poetry run: poetry config virtualenvs.create false - - name: Install requirements + - name: Install project run: > poetry install -vvv - --only dev - --only benchmark - - - name: Install project - run: | - poetry install -vvv --without dev --all-extras + --with dev + --with benchmark + --all-extras - name: Run benchmarks uses: CodSpeedHQ/action@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22c23a554..8ee9ed957 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,6 @@ jobs: - { session: tests, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "1.*" } - { session: doctest, python-version: "3.10", os: "ubuntu-latest", sqlalchemy: "2.*" } - { session: mypy, python-version: "3.8", os: "ubuntu-latest", sqlalchemy: "2.*" } - - { session: benches, python-version: "3.10", os: "ubuntu-latest", sqlalchemy: "2.*" } steps: - name: Check out the repository