ʲྫʳActionsͷهड़ʢςετՃ൛ʣ
name: C
I
on: pus
h
jobs
:
test
:
name: tes
t
runs-on: ubuntu-lates
t
steps
:
- uses: actions/checkout@maste
r
- name: Instal
l
uses: abatilo/
[email protected].
0
with
:
python_version: 3.9.
7
poetry_version: 1.1.
7
args: instal
l
- name: Run myp
y
uses: abatilo/
[email protected].
0
with
:
python_version: 3.9.
7
poetry_version: 1.1.
7
args: run python -m mypy
.
- name: Run pytes
t
uses: abatilo/
[email protected].
0
with
:
python_version: 3.9.
7
poetry_version: 1.1.
7
args: run python -m pytest
.
deploy-gae
:
name: App Engine Deplo
y
needs: tes
t
if: github.ref == 'refs/heads/main
'
runs-on: ubuntu-lates
t
steps
:
- uses: actions/checkout@v
2
- name: Deploy an App Engine ap
p
id: deploy-ap
p
uses: google-github-actions/
[email protected].
1
with
:
project_id: ${{ secrets.GCP_PROJECT_ID }
}
deliverables: app.yam
l
credentials: ${{ secrets.GCP_SA_KEY }
}
version: v1