Skip to content

change used IMDB library, update to centralize code #63

change used IMDB library, update to centralize code

change used IMDB library, update to centralize code #63

Workflow file for this run

# python-tests.yml
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
# Turned off for now since dpytest is still volatile and likely won't support slash commands
# https://github.com/CraftSpider/dpytest/issues/92
# - name: Run tests
# if: always()
# run: |
# pytest tests
- name: Lint with ruff
if: always()
run: |
ruff check .