Skip to content

build(deps): bump the github-actions group across 1 directory with 13 updates #1979

build(deps): bump the github-actions group across 1 directory with 13 updates

build(deps): bump the github-actions group across 1 directory with 13 updates #1979

Workflow file for this run

name: Tests and Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
permissions:
contents: read # Required: To checkout repositories
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: [ "3.13" ]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Check if any local image is used in docker-compose.yml
run: |
if [[ "$(egrep -w 'image:\s+repository-service-tuf-api|image:\s+repository-service-tuf-worker' docker-compose.yml -c)" -ne "0" ]]; then echo "Local image has been used in docker-compose.yml" && exit 1; fi
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: ${{ matrix.python-versions }}
- name: Install tox and coverage
run: pip install tox tox-gh-actions
- name: Run Python tests
run: tox
- name: Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: coverage.xml
fail_ci_if_error: false
verbose: true