Skip to content

Commit

Permalink
Update test flows to use Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Oct 30, 2023
1 parent f9b2399 commit 2ebcb7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: pip
cache-dependency-path: requirements.txt
python-version: "3.10"

- name: Run pre-commit
uses: pre-commit/[email protected]
Expand All @@ -48,12 +46,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: pip
cache-dependency-path: requirements.txt
python-version: "3.10"

- name: Install requirements
run: pip install -r requirements.txt
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.6.1

- name: Install dependencies
run: poetry install

- name: Run test
run: script/test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Exposing an API to archived case law.

## Requirements.

Python >= 3.8
Python >= 3.10

## Installation & Usage

Expand Down

0 comments on commit 2ebcb7e

Please sign in to comment.