Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guilledk committed Jan 22, 2025
1 parent c1d64e7 commit a204f95
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,29 @@ jobs:
with:
submodules: recursive

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Setup poetry
uses: abatilo/actions-poetry@v2
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5

- uses: actions/cache@v3
name: Cache venv
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
key: venv-${{ hashFiles('uv.lock') }}

- name: Install with dev
run: poetry install --with=dev --with=snaps
run: uv sync

- name: Run simple tests
run: |
poetry run \
uv run \
pytest \
tests/test_libre_dex.py \
tests/test_sugar.py
- name: Run end to end tests
run: |
poetry run \
uv run \
pytest tests/test_token.py
poetry run \
uv run \
pytest tests/test_testcontract.py

0 comments on commit a204f95

Please sign in to comment.