Skip to content

Rev version

Rev version #119

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install .[dev]
- name: Test with pytest
run: |
pip install pytest pytest-cov
python -m pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=docsismodem --cov-report=xml --cov-report=html
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ci-build:$(date +%s)