Skip to content

Commit

Permalink
Support multi-os CI builds
Browse files Browse the repository at this point in the history
This commit enables multiple Python versions and multiple OS CI builds
  • Loading branch information
lukecampbell committed Oct 20, 2022
1 parent a589e18 commit f3cdca4
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 105
7 changes: 2 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ jobs:
strategy:
fail-fast: false
matrix:
# Crawl, walk, run, sprint
#os: ["macos-latest", "ubuntu-latest", "windows-latest"]
#python-version: ["3.7", "3.8", "3.9"]
os: ["ubuntu-latest"]
python-version: ["3.9"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
python-version: ["3.7", "3.8", "3.9"]
steps:
- name: Checkout source
uses: actions/checkout@v2
Expand Down
16 changes: 16 additions & 0 deletions ci/environment-py3.10-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test-env-win
channels:
- conda-forge
dependencies:
- python=3.10
- pandas
- erddapy
- panel
- intake
- pytest
- pytest-cov
- isort
- flake8
- pre-commit
- types-setuptools
- mypy
16 changes: 16 additions & 0 deletions ci/environment-py3.10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test-env-mac-unix
channels:
- conda-forge
dependencies:
- python=3.10
- pandas
- erddapy
- panel
- intake
- pytest
- pytest-cov
- isort
- flake8
- pre-commit
- types-setuptools
- mypy
16 changes: 16 additions & 0 deletions ci/environment-py3.8-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test-env-win
channels:
- conda-forge
dependencies:
- python=3.8
- pandas
- erddapy
- panel
- intake
- pytest
- pytest-cov
- isort
- flake8
- pre-commit
- types-setuptools
- mypy
16 changes: 16 additions & 0 deletions ci/environment-py3.8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test-env-mac-unix
channels:
- conda-forge
dependencies:
- python=3.8
- pandas
- erddapy
- panel
- intake
- pytest
- pytest-cov
- isort
- flake8
- pre-commit
- types-setuptools
- mypy
16 changes: 16 additions & 0 deletions ci/environment-py3.9-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test-env-win
channels:
- conda-forge
dependencies:
- python=3.9
- pandas
- erddapy
- panel
- intake
- pytest
- pytest-cov
- isort
- flake8
- pre-commit
- types-setuptools
- mypy

0 comments on commit f3cdca4

Please sign in to comment.