Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Feb 25, 2025
1 parent d5d0bf2 commit 6f62389
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Ape
uses: ApeWorX/github-action@v3

- name: Install dependencies
- name: Build and Install Contract Dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[release]
- name: Install plugins for build
run: ape plugins install .
ape pm compile
ape run build
- name: Build and Install Contract Dependencies
run: ape pm compile && ape run build
- name: Install Package
run: |
python -m pip install --upgrade pip
pip install .[release]
- name: Build Python distribution
run: python setup.py sdist bdist_wheel
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,20 @@ jobs:
with:
version: nightly

- name: Setup Python
uses: actions/setup-python@v5
- name: Setup Ape
uses: ApeWorX/github-action@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
- name: Build and Install Contract Dependencies
run: |
ape pm compile
ape run build
- name: Install Package
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Install plugins
run: ape plugins install .

- name: Build and Install Contract Dependencies
run: ape pm compile && ape run build

- name: Run Tests
run: ape test -n 0 -s --cov

0 comments on commit 6f62389

Please sign in to comment.