feat(globallog): Add Dockerfile and Docker support #1415
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: "true" | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| id: setup_python | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install the project | |
| run: uv sync --locked --all-packages --dev | |
| - name: Lint with flake8 | |
| shell: bash | |
| run: | | |
| uv run flake8 | |
| - name: Test with pytest | |
| shell: bash | |
| run: | | |
| uv run pytest | |
| - name: Enforce autopep8 | |
| shell: bash | |
| run: | | |
| uv run autopep8 -d -r src/ *.py --exit-code |