Skip to content

Commit

Permalink
Merge pull request #12 from curvefi/larger-gamma
Browse files Browse the repository at this point in the history
feat: larger gamma
  • Loading branch information
bout3fiddy authored Jun 4, 2024
2 parents 5cd61f1 + 9856e82 commit 3b0226a
Show file tree
Hide file tree
Showing 52 changed files with 5,563 additions and 1,421 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
path: |
~/.vvm
key: compiler-cache
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}

- name: Setup Python 3.10.4
uses: actions/setup-python@v2
Expand Down
52 changes: 49 additions & 3 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
boa-tests:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,7 +16,7 @@ jobs:
with:
path: |
~/.vvm
key: compiler-cache
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}

- name: Setup Python 3.10.4
uses: actions/setup-python@v2
Expand All @@ -27,4 +27,50 @@ jobs:
run: pip install -r requirements.txt

- name: Run Tests
run: python -m pytest tests/unitary -n auto
run: python -m pytest tests/unitary -n auto --ignore=tests/unitary/pool/stateful --ignore=tests/unitary/math

stateful-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}

- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4

- name: Install Requirements
run: pip install -r requirements.txt

- name: Run Stateful Tests
run: python -m pytest tests/unitary/pool/stateful -n auto --ignore=tests/unitary/pool/stateful/legacy

math-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}

- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4

- name: Install Requirements
run: pip install -r requirements.txt

- name: Run Tests
run: python -m pytest tests/unitary/math -n auto
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ reports/
.idea
**/.idea
.vscode
*.csv

# misc
/data
Expand Down
Loading

0 comments on commit 3b0226a

Please sign in to comment.