update container configuration #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Conformance | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 pylint | |
- name: Lint with flake8 | |
run: | | |
flake8 ./gdlevelconverter --count --show-source --statistics --max-line-length=100 | |
- name: Lint with pylint | |
run: | | |
pylint ./gdlevelconverter | |
- name: Test with unittest | |
run: | | |
python -m unittest discover |