Skip to content

Merge pull request #42 from juniorguru/dependabot/pip/pytest-asyncio-… #149

Merge pull request #42 from juniorguru/dependabot/pip/pytest-asyncio-…

Merge pull request #42 from juniorguru/dependabot/pip/pytest-asyncio-… #149

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- run: poetry install
- run: poetry run pytest
- if: ${{ github.ref == 'refs/heads/main' }}
uses: superfly/flyctl-actions@1.4
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
with:
args: "deploy"