Skip to content

Move CLI behind a Lambda: Part 1 #50

Move CLI behind a Lambda: Part 1

Move CLI behind a Lambda: Part 1 #50

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install ".[dev]"
- name: Run tests
run: pytest --cov=. --cov-report=xml
- name: Upload coverage to Codecov
if: ${{ github.repository == 'omsf-eco-infra/devbox' }}
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}