Skip to content

Merge branch 'pipfile-scripts' of https://github.com/noisebridge/Medi… #111

Merge branch 'pipfile-scripts' of https://github.com/noisebridge/Medi…

Merge branch 'pipfile-scripts' of https://github.com/noisebridge/Medi… #111

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
python-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev
- name: Run tests
run: pipenv run pytest
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: ruff check --output-format=github .