Skip to content

♻️✅ Refactor config parsing, add tests for co… #8

♻️✅ Refactor config parsing, add tests for co…

♻️✅ Refactor config parsing, add tests for co… #8

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
code-style-check:
runs-on: ubuntu-latest
name: Unit Tests (Python 3.7)
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install ExCore
run: |
pip install poetry
poetry install --with dev
- name: Run pytest
run: |
cd tests
pip install toml
python init.py
python -m pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}