Rolled back bundle macOS version to 12. #276
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10.11" | |
- name: Install system packages (Ubuntu) | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libsdl2-2.0-0 vlc | |
if: matrix.os == 'ubuntu-latest' | |
- name: Install system packages (MacOS) | |
run: | | |
brew update | |
brew install --cask vlc | |
if: matrix.os == 'macos-latest' | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev_requirements.txt | |
- name: Lint | |
run: pylint $(git ls-files '*.py') | |
- name: Test | |
run: coverage run -m unittest discover -s source/tests/ -t source/tests/ | |
- name: Coverage | |
run: coverage report -m --fail-under=100 |