Skip to content

Bump ruff from 0.8.1 to 0.8.2 #53

Bump ruff from 0.8.1 to 0.8.2

Bump ruff from 0.8.1 to 0.8.2 #53

Workflow file for this run

name: Test
on:
push:
branches: [master, devel]
pull_request:
branches: [master, devel]
jobs:
test:
runs-on: ubuntu-latest
services:
mysql:
image: "mysql:8.0"
ports:
- "3306:3306"
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 10
env:
MYSQL_RANDOM_ROOT_PASSWORD: yes
MYSQL_TCP_PORT: 3306
MYSQL_USER: "test"
MYSQL_PASSWORD: "test"
MYSQL_DATABASE: "study_notify"
porch:
image: "ghcr.io/wtsi-npg/python-3.10-npg-porch-2.0.0"
ports:
- "8081:8081"
options: >-
--health-cmd "curl -f http://localhost:8081"
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
- name: Run poetry install
run: |
poetry env use '3.11'
poetry install
- name: Run pytest
run: |
poetry run pytest
- name: Run linter (ruff)
run: |
poetry run ruff check --output-format=github .