Skip to content

build(deps): bump actions/github-script from 7.0.0 to 7.0.1 (#423) #783

build(deps): bump actions/github-script from 7.0.0 to 7.0.1 (#423)

build(deps): bump actions/github-script from 7.0.0 to 7.0.1 (#423) #783

Workflow file for this run

name: Tests and Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-versions: [ "3.10", "3.11" ]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- 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@61a6322f88396a6271a6ee3565807d608ecaddd1
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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
files: coverage.xml
fail_ci_if_error: false
verbose: true