Skip to content

Add github actions

Add github actions #1

Workflow file for this run

name: Testing
on: [push]
jobs:
testing:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check out and setup python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies and linting
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
pylint src --errors-only
- name: Build package
run: pytest --junitxml output/report.xml