Python API #5
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: Python API | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Fetch the package's repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -yq --no-install-recommends git build-essential python3-dev python3-pip | |
- name: Build | |
run: pip3 install -v ./library/python/ | |
- name: Test | |
run: | | |
pip3 install -v './library/python[test]' | |
pytest -rAv |