File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
cookiecutter-django/{{cookiecutter.project_slug}}/.github/workflows
cookiecutter-pypackage/{{cookiecutter.repository_name}}/.github/workflows Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
on : [push, pull_request]
3
3
jobs :
4
4
build :
5
+ {%- raw %}
5
6
if : ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }}
7
+ {%- endraw %}
6
8
runs-on : ubuntu-latest
7
9
steps :
8
10
- uses : actions/checkout@v4
18
20
- name : Run checks and tests
19
21
env :
20
22
PYTHONWARNINGS : error
21
- DATABASE_URL : postgresql://postgres:postgres@localhost:${{ "{{" }} job.services.postgres.ports[5432] }}/postgres
23
+ {%- raw %}
24
+ DATABASE_URL : postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres
25
+ {%- endraw %}
22
26
shell : bash
23
27
run : |
24
28
./manage.py migrate
Original file line number Diff line number Diff line change 2
2
on : [push, pull_request]
3
3
jobs :
4
4
build :
5
+ {%- raw %}
5
6
if : ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }}
7
+ {%- endraw %}
6
8
{%- if cookiecutter.os_independent == "y" %}
7
9
{%- raw %}
8
10
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments