@@ -10,85 +10,85 @@ concurrency:
1010 cancel-in-progress : true
1111
1212jobs :
13- precommit :
14- runs-on : ubuntu-latest
15- steps :
16- - name : Install Python ${{ env.PYTHON_VERSION }}
17- uses : actions/setup-python@v5
18- with :
19- python-version : ${{ env.PYTHON_VERSION }}
20- - uses : actions/checkout@v4
21- - name : Install pre-commit
22- run : |
23- python -m pip install --upgrade pip
24- python -m pip install pre-commit virtualenv!=20.0.6
25- pre-commit install
26- - name : Run static code inspections
27- run : pre-commit run --all-files
28-
29- django-tests :
30- runs-on : ubuntu-latest
31- steps :
32- - name : Set up Python ${{ env.PYTHON_VERSION }}
33- uses : actions/setup-python@v5
34- with :
35- python-version : ${{ env.PYTHON_VERSION }}
36- - uses : actions/checkout@v4
37- - name : Build the test container
38- run : |
39- make build_web_test
40- - name : Set DOCKER_GID
41- run : |
42- echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env
43- - name : Check migrations have been made
44- run : make check_migrations
45- - name : Run the django tests
46- run : |
47- make minio
48- docker compose run --rm celery_worker pytest --durations 10
49-
50- javascript-tests :
51- runs-on : ubuntu-latest
52- steps :
53- - uses : actions/checkout@v4
54- - name : Setup Node.js
55- uses : actions/setup-node@v4
56- with :
57- node-version : ' 20'
58- cache : ' npm'
59- - name : Install dependencies
60- run : npm ci
61- - name : Run tests
62- run : npm test
63-
64- docs :
65- runs-on : ubuntu-latest
66- steps :
67- - uses : actions/checkout@v4
68- - name : Build the test container
69- run : |
70- make build_web_test
71- - name : Set DOCKER_GID
72- run : |
73- echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env
74- - name : Build the docs
75- run : |
76- make docs
77- - name : Deploy the documentation on main
78- if : github.ref == 'refs/heads/main'
79- uses : peaceiris/actions-gh-pages@v4
80- with :
81- github_token : ${{ secrets.GITHUB_TOKEN }}
82- publish_dir : ./app/docs/_build/html
13+ # precommit:
14+ # runs-on: ubuntu-latest
15+ # steps:
16+ # - name: Install Python ${{ env.PYTHON_VERSION }}
17+ # uses: actions/setup-python@v5
18+ # with:
19+ # python-version: ${{ env.PYTHON_VERSION }}
20+ # - uses: actions/checkout@v4
21+ # - name: Install pre-commit
22+ # run: |
23+ # python -m pip install --upgrade pip
24+ # python -m pip install pre-commit virtualenv!=20.0.6
25+ # pre-commit install
26+ # - name: Run static code inspections
27+ # run: pre-commit run --all-files
28+ #
29+ # django-tests:
30+ # runs-on: ubuntu-latest
31+ # steps:
32+ # - name: Set up Python ${{ env.PYTHON_VERSION }}
33+ # uses: actions/setup-python@v5
34+ # with:
35+ # python-version: ${{ env.PYTHON_VERSION }}
36+ # - uses: actions/checkout@v4
37+ # - name: Build the test container
38+ # run: |
39+ # make build_web_test
40+ # - name: Set DOCKER_GID
41+ # run: |
42+ # echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env
43+ # - name: Check migrations have been made
44+ # run: make check_migrations
45+ # - name: Run the django tests
46+ # run: |
47+ # make minio
48+ # docker compose run --rm celery_worker pytest --durations 10
49+ #
50+ # javascript-tests:
51+ # runs-on: ubuntu-latest
52+ # steps:
53+ # - uses: actions/checkout@v4
54+ # - name: Setup Node.js
55+ # uses: actions/setup-node@v4
56+ # with:
57+ # node-version: '20'
58+ # cache: 'npm'
59+ # - name: Install dependencies
60+ # run: npm ci
61+ # - name: Run tests
62+ # run: npm test
63+ #
64+ # docs:
65+ # runs-on: ubuntu-latest
66+ # steps:
67+ # - uses: actions/checkout@v4
68+ # - name: Build the test container
69+ # run: |
70+ # make build_web_test
71+ # - name: Set DOCKER_GID
72+ # run: |
73+ # echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env
74+ # - name: Build the docs
75+ # run: |
76+ # make docs
77+ # - name: Deploy the documentation on main
78+ # if: github.ref == 'refs/heads/main'
79+ # uses: peaceiris/actions-gh-pages@v4
80+ # with:
81+ # github_token: ${{ secrets.GITHUB_TOKEN }}
82+ # publish_dir: ./app/docs/_build/html
8383
8484 deploy :
85- needs : [django-tests, javascript-tests]
85+ # needs: [django-tests, javascript-tests]
8686 runs-on : ubuntu-latest
8787 permissions :
8888 # These permissions are needed to interact with GitHub's OIDC Token endpoint.
8989 id-token : write
9090 contents : read
91- if : github.ref == 'refs/heads/main'
91+ # if: github.ref == 'refs/heads/main'
9292 steps :
9393 - uses : actions/checkout@v4
9494 - name : Build the distributable containers
0 commit comments