Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add windows to CI matrix #97

Closed
wants to merge 7 commits into from
Closed
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
15 changes: 6 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
python-version: 3.8

- name: Install Dependencies
env:
ARGS: "-av"
run: |
python -m pip install --upgrade pip
pip install .[lint]
Expand All @@ -40,9 +42,7 @@ jobs:
python-version: 3.8

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[lint,test]
run: pip install .[lint,test]

- name: Run MyPy
run: mypy .
Expand All @@ -52,7 +52,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10"]

env:
Expand All @@ -61,8 +61,6 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v2
Expand All @@ -76,6 +74,7 @@ jobs:
path: $HOME/.local/bin
key: ${{ runner.os }}-geth-${{ env.GETH_VERSION }}

# Currently assumes unix system and will be part of work to include windows systems
- name: Install Geth
if: steps.cache-geth.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -111,9 +110,7 @@ jobs:
python-version: 3.8

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
run: pip install .[test]

- name: Run Tests
run: pytest -m "fuzzing" --no-cov -s
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"pandas>=1.3.0,<2",
"pluggy>=1.0.0,<2",
"pydantic>=1.9.2,<2",
"pyethash==0.1.27",
"PyGithub>=1.54,<2",
"pytest>=6.0,<8.0",
"python-dateutil>=2.8.2,<3",
Expand Down