maint: misc. refactorings, fixes, updates
- puts tests in the correct location of github workflow - fixes `.env` values not loading via `load_dotenv` - required early loading - corrects many static type linting errors - combines all inputs into a single class with validation - formats markdown & python files, as well as output - slightly improved log messages, caught potential attribute error - updates dependencies
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: WakaReadme
|
||||
name: UnitTests
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -11,16 +11,15 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
curl -sSL https://install.python-poetry.org | python -
|
||||
export PATH="$HOME/.poetry/bin:${PATH}"
|
||||
source $HOME/.poetry/env
|
||||
poetry install
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
Reference in New Issue
Block a user