Skip to content

Commit

Permalink
fix(deps): Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Mar 25, 2021
1 parent 6f69a87 commit 388a3b0
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: CI

on: [push, pull_request]
on: [push]

jobs:

Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/tests.yaml
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/
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==6.2.2
twine==3.4.1
wheel==0.36.2
setuptools==54.1.2
setuptools==54.2.0
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pollination-honeybee-energy==0.2.9
pollination-alias==0.5.2
pollination-honeybee-energy>=0.2.10
pollination-alias>=0.5.3
Empty file added tests/__init__.py
Empty file.
8 changes: 8 additions & 0 deletions tests/validation_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from pollination.custom_energy_sim.entry import CustomEnergySimEntryPoint
from queenbee.recipe.dag import DAG


def test_annual_energy_use():
recipe = CustomEnergySimEntryPoint().queenbee
assert recipe.name == 'custom-energy-sim-entry-point'
assert isinstance(recipe, DAG)

0 comments on commit 388a3b0

Please sign in to comment.