Skip to content

Commit 7c76da0

Browse files
committed
setup CI
1 parent 3cda81d commit 7c76da0

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [rmorshea]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Documentation
4+
url: https://idom-docs.herokuapp.com/
5+
about: Refer to the documentation before starting a discussion
6+
- name: Community Support
7+
url: https://github.com/idom-team/idom/discussions
8+
about: Report issues, request features, and ask questions

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: "0 0 * * *"
12+
13+
jobs:
14+
test-python-versions:
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
python-version: [3.7, 3.8, 3.9]
19+
os: [ubuntu-latest, macos-latest, windows-latest]
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: nanasess/setup-chromedriver@master
23+
- uses: actions/setup-node@v2-beta
24+
with:
25+
node-version: "14"
26+
- name: Use Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
- name: Install Python Dependencies
31+
run: pip install -r requirements/test-run.txt
32+
- name: Run Tests
33+
run: |
34+
npm install -g [email protected]
35+
nox -s test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ pip-delete-this-directory.txt
6060
# Unit test / coverage reports
6161
htmlcov/
6262
.tox/
63+
.nox/
6364
.coverage
6465
.coverage.*
6566
.cache

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def format(session: Session) -> None:
3939
def test(session: Session) -> None:
4040
"""Run the complete test suite"""
4141
session.install("--upgrade", "pip", "setuptools", "wheel")
42-
test_suite(session)
43-
test_style(session)
42+
session.notify("test_suite")
43+
session.notify("test_style")
4444

4545

4646
@nox.session

0 commit comments

Comments
 (0)