forked from enviPath/enviPy
[Chore] Add custom CI Docker image with Node.js 24, pnpm 10, and uv (#268)
This is meant to drastically speed up CI because it skips the lengthy installation. Co-authored-by: jebus <lorsbach@envipath.com> Reviewed-on: enviPath/enviPy#268 Co-authored-by: Tobias O <tobias.olenyi@envipath.com> Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
@ -10,6 +10,11 @@ jobs:
|
||||
test:
|
||||
if: ${{ !contains(gitea.event.pull_request.title, 'WIP') }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: git.envipath.com/envipath/envipy-ci:latest
|
||||
credentials:
|
||||
username: ${{ secrets.CI_REGISTRY_USER }}
|
||||
password: ${{ secrets.CI_REGISTRY_PASSWORD }}
|
||||
|
||||
services:
|
||||
postgres:
|
||||
@ -78,10 +83,8 @@ jobs:
|
||||
|
||||
- name: Run frontend tests
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
python manage.py test --tag frontend
|
||||
.venv/bin/python manage.py test --tag frontend
|
||||
|
||||
- name: Run Django tests
|
||||
run: |
|
||||
source .venv/bin/activate
|
||||
python manage.py test tests --exclude-tag slow --exclude-tag frontend
|
||||
.venv/bin/python manage.py test tests --exclude-tag slow --exclude-tag frontend
|
||||
|
||||
Reference in New Issue
Block a user