Admin > Deltagere: Flyttede rundt på kolonner for at vise det vigtigs… #2903
Workflow file for this run
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
name: Run tests & Analyse code | |
on: [push, pull_request] | |
jobs: | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: technote-space/auto-cancel-redundant-job@v1 | |
- name: Setup Enviroment | |
run: cp .env.example .env | |
- name: Builds the stack | |
run: docker-compose build | |
- name: Check formatting (Black) | |
run: docker-compose run web black --check . | |
- name: Static error check (Flake8) | |
run: docker-compose run web flake8 | |
- name: Test | |
run: docker-compose run web ./manage.py test | |
- uses: actions/[email protected] | |
if: always() | |
with: | |
name: selenium-screens | |
path: ./test-screens | |
- name: Create and upload UML diagram | |
run: mkdir -p UML && docker-compose run web ./manage.py graph_models members -o UML/UML_diagram.png | |
- uses: actions/[email protected] | |
with: | |
name: UML_diagram.png | |
path: UML |