mirror of
https://github.com/decompme/decomp.me.git
synced 2025-12-21 13:00:46 -06:00
* Revert "Revert "Dep updates (#457)" (#458)"
This reverts commit eb43c51586.
* ci changes
* Update almost everything, fix issues
* add jest-environment-jsdom
* fix to mwcc debug info option
* remove frontend tests
* black
* remove eslint-plugin-testing-library
* Do db migration
Co-authored-by: Alex Bates <alex@nanaian.town>
32 lines
625 B
YAML
32 lines
625 B
YAML
name: Python application
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.6
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.6
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade mypy dataclasses types-dataclasses pycparser coverage black==22.3.0
|
|
- name: Run tests
|
|
run: |
|
|
./run_tests.py
|
|
- name: Type-check
|
|
run: |
|
|
mypy
|
|
- name: Formatting check
|
|
run: |
|
|
black --check .
|