Skip to content

Commit

Permalink
Fixing repo tooling/CI (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza authored Sep 4, 2024
1 parent d8981ab commit 3fa16dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/codeflash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
- name: Set up uv
if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: uv sync
- name: Run CodeFlash on fhaviary
if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: codeflash
run: uv run codeflash
- name: Run CodeFlash on aviary.gsm8k
if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: codeflash --module-root=packages/gsm8k/src/aviary --tests-root=packages/gsm8k/tests
run: uv run codeflash --module-root=packages/gsm8k/src/aviary --tests-root=packages/gsm8k/tests
- name: Run CodeFlash on aviary.hotpotqa
if: steps.bot_check.outputs.skip_remaining_steps == 'no'
run: codeflash --module-root=packages/hotpotqa/src/aviary --tests-root=packages/hotpotqa/tests
run: uv run codeflash --module-root=packages/hotpotqa/src/aviary --tests-root=packages/hotpotqa/tests
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
uv run refurb .
cd ../../hotpotqa/src
uv run refurb .
cd ../../..
uv run refurb tests packages/gsm8k/tests packages/hotpotqa/tests
- run: uv run pylint src packages
test:
runs-on: large-runner
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ repos:
- httpx
- numpy
- pydantic~=2.0 # Match aviary pyproject.toml
- SQLAlchemy[aiosqlite]~=2.0 # Match aviary pyproject.toml and dev-requirements.txt
- SQLAlchemy[aiosqlite]~=2.0 # Match aviary pyproject.toml
- tenacity
- types-Pillow
- pandas-stubs
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ ignore = [
"TCH003",
"TD002", # Don't care for TODO author
"TD003", # Don't care for TODO links
"TID252", # Allow relative imports for packaging
"TRY003", # Overly pedantic
"W505", # Overly pedantic for Tool.__doc__
]
Expand Down

0 comments on commit 3fa16dc

Please sign in to comment.