Merge pull request #10 from juntagrico/1.6 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will cookiecut the code and roughly check if the result works. | |
name: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, release/** ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
JUNTAGRICO_SECRET_KEY: fake | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: run cookiecutter | |
run: | | |
pip install cookiecutter | |
cookiecutter . --no-input | |
- name: test run app | |
run: | | |
cd code | |
pip install -r requirements.txt | |
python -m manage collectstatic | |
python -m manage test juntagrico.tests.test_profile |