Skip to content

fix(publish): stop shipping a Go object archive as pilot-gateway #38

fix(publish): stop shipping a Go object archive as pilot-gateway

fix(publish): stop shipping a Go object archive as pilot-gateway #38

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install
run: |
pip install --upgrade pip
pip install -e . pytest pytest-cov
- name: Run tests with coverage
run: pytest --cov=pilotprotocol --cov-report=term --cov-report=xml --cov-report=html
continue-on-error: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: always()
with:
files: ./coverage.xml
flags: unittests
name: sdk-python
fail_ci_if_error: false
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-sdk-python
path: |
coverage.xml
htmlcov/
retention-days: 30
if-no-files-found: ignore