Skip to content

Chore/ci workflows (#10) #7

Chore/ci workflows (#10)

Chore/ci workflows (#10) #7

Workflow file for this run

name: CI - update script
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: requirements-dev.txt
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Install ShellCheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: ShellCheck update.sh
run: shellcheck scripts/update.sh
- name: Run pytest (update dry-run)
run: pytest -q
- name: Upload pytest artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-artifacts
path: |
coverage.xml
htmlcov/