Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tbmc committed May 6, 2024
1 parent cf7ac47 commit ed78b6e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Run tests
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
black --check .
pytest
- name: Run Black check
run: black --check .

- name: Run Pytest
run: pytest

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit ed78b6e

Please sign in to comment.