Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Add setup-ci and workflow dispatch #1609

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/cairo-zero-nightly-fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: cairo-zero-NIGHTLY-FUZZING
on:
schedule:
- cron: 20 0 * * *

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
workflow_dispatch: {}

permissions: read-all

Expand All @@ -28,9 +26,10 @@ jobs:
with:
version: nightly
- name: Run tests
env:
HYPOTHESIS_PROFILE: nightly
run: make test-unit-cairo-zero
run: |
make setup-ci
echo "HYPOTHESIS_PROFILE=nightly" >> .env # Override the .env file
make test-unit-cairo-zero
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fetch-ef-tests:
uv run ef_tests

test-cairo-zero: deploy
uv run pytest cairo_zero/tests/src -m "not NoCI" --log-cli-level=INFO -n logical --seed 42
uv run pytest cairo_zero/tests/src -m "not NoCI" -n logical --seed 42 --log-cli-level=INFO
uv run pytest tests/end_to_end --seed 42

test-unit-cairo-zero: build-sol
Expand Down
Loading