Skip to content

no message

no message #1449

Workflow file for this run

name: tests
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- "3.11"
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install-dependencies
run: |
python -m pip install --upgrade pip
pip install ".[tests]"
pip install --upgrade --no-deps --force-reinstall --no-cache-dir https://github.com/dream-faster/krisi/archive/main.zip
- name: run-tests
run: pytest tests/fold/unit -s --cov --durations 0
- uses: codecov/codecov-action@v3
integration-tests:
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- "3.11"
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install-dependencies
run: |
python -m pip install --upgrade pip
pip install ".[tests]"
pip install ".[all]"
pip install --upgrade --no-deps --force-reinstall --no-cache-dir https://github.com/dream-faster/krisi/archive/main.zip
- name: run-tests
run: pytest tests/fold/integration -s --durations 0
doc-tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: install-dependencies
run: |
python -m pip install --upgrade pip
pip install ".[tests]"
pip install ".[all]"
pip install --upgrade --no-deps --force-reinstall --no-cache-dir https://github.com/dream-faster/krisi/archive/main.zip
- name: run-tests
run: pytest src/ -s --durations 0