Compare commits
3 Commits
add-fronte
...
32c632f7a6
Author | SHA1 | Date | |
---|---|---|---|
32c632f7a6
|
|||
47f008628f
|
|||
e449164fdb
|
@ -1,4 +1,4 @@
|
||||
name: Django CI/CD
|
||||
name: Build and upload container
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -8,6 +8,7 @@ on:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
13
.gitea/workflows/test.yml
Normal file
13
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,13 @@
|
||||
name: Test
|
||||
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: python:3.12
|
||||
steps:
|
||||
- python -m pip install poetry
|
||||
- poetry install
|
||||
- poetry env info
|
||||
- poetry run python manage.py migrate
|
||||
- poetry run pytest
|
Reference in New Issue
Block a user