Skip to content

limited version of uunet #236

limited version of uunet

limited version of uunet #236

Workflow file for this run

name: tests & linters
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
Check-Quality-Of-Code:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r env/pip_prod.txt
pip install -r env/pip_dev.txt
pip install -e .
- name: Validate
run: |
pre-commit install --config template-python/.pre-commit-config.yaml
pre-commit run --all-files --config template-python/.pre-commit-config.yaml
- name: Compute coverage
run: |
coverage run -m unittest discover
bash <(curl -s https://codecov.io/bash)