Skip to content

te007 is back online #78

te007 is back online

te007 is back online #78

Workflow file for this run

name: Unit tests
on: [pull_request, push, workflow_dispatch]
jobs:
test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.8"]
steps:
# Issue: https://github.com/actions/checkout/issues/211#issuecomment-1368283898
# - name: Chown user
# run: |
# sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: Test
shell: bash
run: poetry run j ci
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
# Report only changed files because the result is too large
- name: Pytest Coverage Comment
uses: MishaKav/pytest-coverage-comment@main
id: coverage_comment
with:
pytest-coverage-path: tests/coverage/pytest-coverage.txt
junitxml-path: tests/coverage/pytest.xml