25 lines
525 B
YAML
25 lines
525 B
YAML
|
name: Build and Release
|
||
|
run-name: ${{ gitea.actor }}
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
run-terraform:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v3
|
||
|
- name: Setup python
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: '3.12'
|
||
|
- name: Install pipenv
|
||
|
run: pip install pipenv
|
||
|
- name: Run pipenv install
|
||
|
run: pipenv install --dev
|
||
|
- name: Run Pytest
|
||
|
run: pipenv run pytest
|
||
|
|