Use another rundb url tk_rundb_api_url
to generate token
#168
Workflow file for this run
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: Build | |
# 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: | |
test: | |
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 python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
- name: Install utilix | |
run: | | |
pip install pytest hypothesis coverage coveralls | |
pip install . --force-reinstall | |
- name: Install pytest and hypothesis | |
run: pip install pytest hypothesis flake8 pytest-cov | |
- name: Test package | |
# Could add more but perhaps we need to consider what we want to test first | |
run: | | |
python -m unittest tests/test_import.py | |
- name: goodbye | |
run: echo goodbye |