Skip to content

tests(web): cover view_chunk #17

tests(web): cover view_chunk

tests(web): cover view_chunk #17

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ruff
run: docker compose -f docker-compose.dev.yml run pixel-battle ruff check src tests -n
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: mypy
run: docker compose -f docker-compose.dev.yml run pixel-battle mypy src
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: start all docker compose services
run: docker compose -f docker-compose.dev.yml up -d
- name: create redis cluster
run: docker exec pixel-battle-redis1 ash /mnt/create-cluster.sh
- name: pytest
run: docker compose -f docker-compose.dev.yml run pixel-battle pytest tests --cov --cov-report=xml
- name: upload coverage reports to codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}