Skip to content

Commit

Permalink
start project
Browse files Browse the repository at this point in the history
  • Loading branch information
KAnanev committed Jun 1, 2023
1 parent 16e2fc8 commit 3c57c6a
Show file tree
Hide file tree
Showing 10 changed files with 905 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/python-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Python-check

on:
push:
branches: [ dev ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# we want to test our package on several versions of Python
python-version: [3.11]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# make depends on poetry
- name: Install dependencies
run: |
pip install poetry
make install
- name: Run linter and pytest
run: |
make check
- name: Test & publish code coverage
uses: paambaati/[email protected]
if: github.ref_name == 'main'
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: make test-coverage
debug: true
Loading

0 comments on commit 3c57c6a

Please sign in to comment.