Skip to content

Remove build system #449

Remove build system

Remove build system #449

Workflow file for this run

name: Run tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v2
- name: Build containers
run: |
docker buildx create --use --driver=docker-container
cd docker/dev
docker buildx bake -f docker-compose.yml web --set *.cache-to="type=gha,mode=min" --set *.cache-from="type=gha" --load
- name: Run tests
run: >-
docker compose -f docker/dev/docker-compose.yml run --rm web
/bin/sh -c
"coverage run --concurrency=multiprocessing ./manage.py test --parallel 4 --shuffle --timing --settings=asu.settings.test --no-input && coverage combine && coverage xml"
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}