-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Trigger new release to deploy to pollination
- Loading branch information
1 parent
89d28f5
commit b141262
Showing
4 changed files
with
35 additions
and
1 deletion.
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,7 +1,7 @@ | ||
--- | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
on: [push] | ||
|
||
jobs: | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: CI | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
test: | ||
name: Unit tests | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: install python dependencies | ||
run: | | ||
pip install -r dev-requirements.txt | ||
pip install . | ||
- name: run tests | ||
run: python -m pytest tests/ |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from pollination.annual_daylight.entry import AnnualDaylightEntryPoint | ||
from queenbee.recipe.dag import DAG | ||
|
||
|
||
def test_annual_daylight(): | ||
recipe = AnnualDaylightEntryPoint().queenbee | ||
assert recipe.name == 'annual-daylight-entry-point' | ||
assert isinstance(recipe, DAG) |