Skip to content

fix: change generated report file name format #34

fix: change generated report file name format

fix: change generated report file name format #34

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml', '**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install (locked)
if: hashFiles('**/requirements.txt') != ''
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# dev tools for CI (ruff/black/mypy/pytest)
pip install -e .[dev]
- name: Install (pyproject)
if: hashFiles('**/requirements.txt') == ''
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint (ruff)
run: ruff check .
- name: Format check (black)
run: black --check .
# - name: Type check (mypy)
# run: mypy
# - name: Run tests
# env:
# PYTHONPATH: .
# run: pytest -q --cov=app --cov-report=xml
# - name: Upload coverage
# uses: actions/upload-artifact@v4
# with:
# name: coverage-xml
# path: coverage.xml