Avoid including runs without an end from long ago #16
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
# Test package every time | |
name: Test package | |
# Controls when the action will run. | |
# Trigger this code when a new release is published | |
on: | |
workflow_dispatch: | |
release: | |
types: [created] | |
pull_request: | |
branches: | |
- master | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: install slack client | |
run: | |
| | |
pip install slack | |
pip install slackclient | |
- name: Install python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
- name: Install daqnt | |
run: python setup.py develop | |
- name: Install pytest | |
run: pip install pytest | |
- name: Test package | |
run: | | |
pytest --verbose test/test_core.py | |
- name: goodbye | |
run: echo goodbye |