Skip to content

Add a CORS configuration to hubverse S3-buckets #111

Add a CORS configuration to hubverse S3-buckets

Add a CORS configuration to hubverse S3-buckets #111

name: Code Checks
on:
push:
pull_request:
# to avoid duplicate workflow runs, don't run when PR is synchronized
# (which is the default) because it will run on the push
types: [opened, reopened, ready_for_review]
workflow_dispatch:
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set up Python 🐍
uses: actions/setup-python@v5
with:
cache: pip
- name: Install dependencies 📦️
run: |
pip install -r requirements/requirements.txt -e .
pip install -r requirements/dev-requirements.txt
- name: lint 🪩
run: ruff check
- name: type check 📝
run: mypy . --ignore-missing-imports
- name: run tests 🧪
run: pytest