Skip to content

Commit

Permalink
Unskip all but Bounds*
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Feb 22, 2024
1 parent a1f2456 commit ade0d94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 596 deletions.
95 changes: 1 addition & 94 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,99 +63,6 @@ jobs:
name: kakarot-build
path: ./build

tests-unit:
runs-on: ubuntu-latest-16-cores
env:
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-${{ runner.os }}
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- run: poetry config installer.modern-installation false
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: make setup
- name: Run tests
run: make test-unit
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
with:
directory: ./coverage/

tests-end-to-end:
runs-on: ubuntu-latest
env:
STARKNET_NETWORK: katana
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-${{ runner.os }}
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- run: poetry config installer.modern-installation false
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: make setup
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Load cached katana
id: cached-katana
uses: actions/cache@v3
with:
path: ~/.cargo/bin
key: katana-fe8f233
- name: Install Katana
if: steps.cached-katana.outputs.cache-hit != 'true'
run: make install-katana
- name: Run tests
run: |
make fetch-ssj-artifacts
cp .env.example .env
make run-katana & make test-end-to-end
ef-tests:
runs-on: ubuntu-latest-32-cores
needs: build
Expand All @@ -179,7 +86,7 @@ jobs:
with:
cache-on-failure: "true"
- name: setup
run: mkdir -p build/common && make setup setup-kakarot-v1
run: make setup setup-kakarot-v1
- uses: taiki-e/install-action@nextest

- name: Download Kakarot build artifacts in v0
Expand Down
Loading

0 comments on commit ade0d94

Please sign in to comment.