Skip to content

add user-agent header #32

add user-agent header

add user-agent header #32

Workflow file for this run

name: Open Energi SDK for Python
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install Pandoc
run: sudo apt-get install -y pandoc
- name: Install some test/lint context with pip
run: pip install pytype flake8 pylint
- name: Install the SDK
run: make install
- name: Lint the source code
run: make lint-errors
- name: Run the tests and notebook
env:
BP_USERNAME: ${{ secrets.BP_USERNAME }}
BP_PASSWORD: ${{ secrets.BP_PASSWORD }}
run: make test nb-markdown