Skip to content

Bumped the version. #20

Bumped the version.

Bumped the version. #20

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
- "develop"
pull_request:
branches: [main, develop]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: "1.1.11"
- name: Build
run: |
poetry install
poetry build
- uses: actions/[email protected]
with:
name: dist
path: dist
- uses: actions/[email protected]
with:
name: output
path: output
run-unit-tests:
name: test-unit
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]
poetry-version: ["1.1.11"]
fail-fast: false
runs-on: ${{ matrix.os }}
needs:
- build
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: run tests
run: |
poetry install
poetry run pytest --junitxml=test-results/results.xml --cov=./ --cov-report=xml tests
- uses: actions/[email protected]
with:
name: unit tests test-results
path: test-results