Fix setting media endpoint #558
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
name: Build & test package | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11', '3.12'] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup python environment | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install wheel # https://stackoverflow.com/questions/34819221 | |
- name: Install | |
run: pip install .[dev,test] | |
- name: Run __main__.py | |
run: python -m heisenbridge || echo | |
- name: Test | |
run: pytest | |
- name: Build | |
run: python setup.py build |