Skip to content

Fix repo review (#41) #119

Fix repo review (#41)

Fix repo review (#41) #119

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
# Run daily at 0:01 UTC
schedule:
- cron: '1 0 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
container: apnpucky/gentoo-yoda:${{ matrix.yoda-version }}-latest
strategy:
fail-fast: false
matrix:
yoda-version: ['1.9.10',
# '2.0.1', # This version is faulty!!!
'9999']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
PYTHON_TARGETS="python3_12" emerge -q dev-python/pip
python3.12 -m pip install '.[test]' --break-system-packages
python3.12 -m pip list
- name: Test with pytest
run: |
python3.12 -m pytest -r sx tests/
# - name: Report core project coverage with Codecov
# if: >-
# github.event_name != 'schedule' &&
# matrix.os == 'ubuntu-latest'
# uses: codecov/codecov-action@v4
# with:
# fail_ci_if_error: true
# files: ./coverage.xml
# flags: unittests-${{ matrix.python-version }}
# name: pylhe
# token: ${{ secrets.CODECOV_TOKEN }}