Skip to content

Merge pull request #25 from katoss/pre-commit-ci-update-config #112

Merge pull request #25 from katoss/pre-commit-ci-update-config

Merge pull request #25 from katoss/pre-commit-ci-update-config #112

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
# Set up operating system
runs-on: ubuntu-latest
# Define job steps
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Check-out repository
uses: actions/checkout@v3
- name: Install poetry
uses: snok/install-poetry@v1
- name: Install package
run: poetry install
- name: Test with pytest
run: poetry run pytest tests/ --cov=cardsort --cov-report=xml
- name: Use Codecov to track coverage
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml # coverage report