Skip to content

added some workshop materials, first draft #822

added some workshop materials, first draft

added some workshop materials, first draft #822

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run Scoreboard Tests
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install Linux Dependences
run: |
sudo apt-get install portaudio19-dev
sudo apt-get install python3-pyaudio
- name: Install dependencies
run: |
cd src/commit-scoreboard
python -m pip install --upgrade pip
pip install pytest behave hypothesis
pip install -r requirements.txt
- name: Test with behave
run: |
cd src/commit-scoreboard
behave
- name: Test with pytest
run: |
cd src/commit-scoreboard
python -m pytest