Skip to content

Commit

Permalink
Chore | Migrate to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
geototti21 committed Dec 8, 2023
1 parent 6ec3e61 commit 15449ba
Show file tree
Hide file tree
Showing 5 changed files with 604 additions and 271 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.{markdown,md}]
trim_trailing_whitespace = false
27 changes: 27 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: python
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies
run: python -m pip install --upgrade pip poetry

- name: Install poetry
run: poetry install

- name: Run linter
run: make lint

- name: Run tests
run: make tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 15449ba

Please sign in to comment.