Update versions #90
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: Python application | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image | |
run: docker build -t local . | |
- name: Install dev tools | |
run: | | |
docker run --name app local pip install .[test] | |
docker commit app app | |
- name: Check code style | |
run: docker run app ruff check . | |
- name: Test with pytest | |
run: docker run -v ./tests:/app/tests -e STEAM_API_KEY=steam_api_key app pytest |