Skip to content

Update codecov/codecov-action action to v5.0.3 #1203

Update codecov/codecov-action action to v5.0.3

Update codecov/codecov-action action to v5.0.3 #1203

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: test
run: |
sudo apt-get update && \
sudo apt-get install -y python3-dev python3-setuptools openvswitch-switch wget && \
pip3 install -U pip && \
pip3 install -U -r test-requirements.txt && \
export PATH=/home/runner/.local/bin:$PATH
pylint -E *py && \
pytype *py && \
./test_ovs_pipette.sh && \
PYTHONPATH=. coverage run test_pipette.py && \
coverage report pipette.py && \
coverage xml pipette.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5.0.3
if: github.repository == 'iqtlabs/pipette'
- name: docker-test
run: |
docker compose build