Skip to content

Commit

Permalink
fix install step for pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush committed Mar 22, 2024
1 parent 8682260 commit 1578668
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8

# Used by ci_test.sh
- name: Install dependencies
run: |
python setup.py install
pip install pytest
pip install solc-select
- name: Run Tests
run: |
pytest tests
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: "pip"
cache-dependency-path: setup.py


- name: Install dependencies
run: |
pip install ".[test]"
solc-select use latest --always-install
- name: Run Tests
run: |
pytest tests

0 comments on commit 1578668

Please sign in to comment.