Skip to content

Create ci.yml

Create ci.yml #1

Workflow file for this run

name: Meson-UI CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ci/ci-requirements.txt
- name: Lint with flake8
run: |
pip install flake8
flake8 .
- name: Test with pytest
run: |
python run_tests.py