Skip to content

refactor: allow escaping of variable references #101

refactor: allow escaping of variable references

refactor: allow escaping of variable references #101

Workflow file for this run

name: Python Unit Testing
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest pytest-cov
- name: Unit test
run: |
coverage run -m unittest discover -s tests --pattern "*.py"
coverage html --skip-covered --skip-empty
- name: Upload HTML report if check failed.
uses: actions/upload-artifact@v4
with:
name: html-report
path: htmlcov
- name: Python Cov
uses: orgoro/coverage@v3
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name == 'pull_request'