Skip to content

LLMFactCheck

LLMFactCheck #68

Workflow file for this run

name: runTest
on: [push]
jobs:
test-python-app:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: myLLMFactCheck
environment-file: env/LLMFactCheck.yml
- name: Run test
run: pytest test/ --cov=./ --cov-report xml:tests.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./tests.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# You can use GitHub Actions without using the CODECOV_TOKEN.
# This token is used to authenticate to the Codecov service, which collects and analyzes code coverage data.
# If you don't plan to use Codecov, you can simply remove this step from your workflows.
# If you plan to use Codecov, you can simply add this step from your workflows:
# run: pytest test/ --cov=./ --cov-report xml:cov.xml
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v2
# with:
# files: ./cov.xml
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}