-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #362 from Future-House/september-2024-release
September 2024 release
- Loading branch information
Showing
69 changed files
with
21,375 additions
and
4,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,27 +4,54 @@ on: | |
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request' # pre-commit-ci/lite-action only runs here | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
python-version: [3.12] # Our min and max supported Python versions | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: pip | ||
- run: pip install .[dev] | ||
- name: Check pre-commit | ||
run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) | ||
- name: Run Test | ||
- uses: pre-commit/[email protected] | ||
- uses: pre-commit-ci/[email protected] | ||
if: always() | ||
lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.11] # Our min supported Python version | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up uv | ||
run: |- | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
uv python pin ${{ matrix.python-version }} | ||
- run: uv sync --python-preference=only-managed | ||
- run: uv run refurb paperqa tests | ||
- run: uv run pylint paperqa | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.12] # Our min and max supported Python versions | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up uv | ||
run: |- | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
uv python pin ${{ matrix.python-version }} | ||
- run: uv sync --python-preference=only-managed | ||
- uses: google-github-actions/auth@v2 | ||
with: | ||
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} | ||
- run: uv run pytest -n auto | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
run: pytest | ||
SEMANTIC_SCHOLAR_API_KEY: ${{ secrets.SEMANTIC_SCHOLAR_API_KEY }} | ||
CROSSREF_API_KEY: ${{ secrets.CROSSREF_API_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Andrew White <[email protected]> <[email protected]> | ||
James Braza <[email protected]> <[email protected]> | ||
Geemi Wellawatte <[email protected]> <[email protected]> | ||
Geemi Wellawatte <[email protected]> <[email protected]> | ||
Michael Skarlinski <[email protected]> mskarlin <[email protected]> | ||
Odhran O'Donoghue <[email protected]> odhran-o-d <[email protected]> | ||
Odhran O'Donoghue <[email protected]> <[email protected]> | ||
Samantha Cox <[email protected]> <[email protected]> |
Oops, something went wrong.