Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ViiSkor committed Oct 31, 2023
1 parent 1ea1ea9 commit 2afd2e6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [push, pull_request]

jobs:
lint-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies
run: |
pip install -r requirements.txt
working-directory: .

- name: Run Pylint
run: pylint core/*

- name: Run Pytest
run: pytest

- name: Upload test results
uses: actions/upload-artifact@v2
with:
name: test-results
path: test-reports

0 comments on commit 2afd2e6

Please sign in to comment.