Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 11, 2023
1 parent 755f77f commit a3c27f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3c27f8

Please sign in to comment.