Skip to content

update to version 3.1.0 #32

update to version 3.1.0

update to version 3.1.0 #32

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Coverage
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
run-tests:
runs-on: ubuntu-latest
services:
echo:
image: ealen/echo-server
ports:
- 8081:80
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry config virtualenvs.create false --local
poetry install
- name: Submit coverage
run: |
coverage run -m pytest
coveralls
env:
ECHO_HOST: localhost:8081
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}