Skip to content

Merge pull request #151 from juniorguru/dependabot/pip/python-8628f3175f #517

Merge pull request #151 from juniorguru/dependabot/pip/python-8628f3175f

Merge pull request #151 from juniorguru/dependabot/pip/python-8628f3175f #517

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: pipx install poetry==1.8.5
- uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml
cache: poetry
- run: poetry install
- run: poetry run pytest
- if: ${{ github.ref == 'refs/heads/main' }}
uses: superfly/flyctl-actions/setup-flyctl@master
- if: ${{ github.ref == 'refs/heads/main' }}
run: flyctl deploy
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}