-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from jmcarpenter2/jmc/bug-fix-2023-03-24
Add Windows CI
- Loading branch information
Showing
4 changed files
with
52 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
version: 2.1 | ||
orbs: | ||
win: circleci/[email protected] | ||
codecov: codecov/[email protected] | ||
jobs: | ||
unittest-lint-codecov: | ||
unittest-lint-codecov-linux: | ||
parallelism: 1 | ||
resource_class: xlarge | ||
resource_class: xlarge # 8 vCPU 16GB RAM | ||
working_directory: ~/repo | ||
docker: | ||
- image: python:3.9 | ||
|
@@ -34,8 +35,29 @@ jobs: | |
- store_artifacts: | ||
path: htmlcov | ||
|
||
unittest-windows: | ||
parallelism: 1 | ||
working_directory: ~/repo | ||
executor: | ||
name: win/default | ||
size: large # 8 vCPU 30GB RAM | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: Install requirements | ||
command: | | ||
pip install -r docker/requirements-dev.txt | ||
shell: bash.exe | ||
- run: | ||
name: Unit tests | ||
command: | | ||
python -m unittest swifter/swifter_tests.py | ||
shell: bash.exe | ||
|
||
workflows: | ||
version: 2 | ||
build-and-test: | ||
jobs: | ||
- unittest-lint-codecov | ||
- unittest-lint-codecov-linux | ||
- unittest-windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM python:3.9 | ||
ADD requirements-dev.txt /build/requirements.txt | ||
ADD requirements-dev.txt /build/requirements-dev.txt | ||
WORKDIR /build/ | ||
RUN pip install -r requirements.txt | ||
RUN pip install -r requirements-dev.txt | ||
WORKDIR /mnt/ | ||
ENV PYTHONPATH "${PYTHONPATH}:/mnt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ black==22.3.0 | |
flake8==3.7.7 | ||
perfplot==0.7.3 | ||
pytest==6.2.2 | ||
jupyterlab==3.6.2 | ||
coverage | ||
codecov | ||
nose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters