Skip to content

Comparing Depot Container Builds in Depot CI vs GitHub Actions #3

Comparing Depot Container Builds in Depot CI vs GitHub Actions

Comparing Depot Container Builds in Depot CI vs GitHub Actions #3

Workflow file for this run

name: Test-Build
on:
push
jobs:
run-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python 3.14
# note: uses .python-version
uses: actions/setup-python@v6
with:
python-version-file: '.python-version'
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
- name: Install dependencies
run: uv sync
- name: Run tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: uv run pytest
build:
needs: run-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: depot/setup-action@v1
- name: Build and Push with Depot
uses: depot/build-push-action@v1
with:
context: .