comparison .github/workflows/ci-test.yml @ 6893:d668e2800147

more debug order matrix include so tupe order is: python version, os, experimental test if test so docker can run on only one release run rather than every run. 3.11-dev on ubuntu-22.04 failed. mime type for js file was missing cache header and also had type of text/javascript not application/javascript. Check /etc/mime.types for change on 20.04 vs 22.04.
author John Rouillard <rouilj@ieee.org>
date Thu, 01 Sep 2022 14:37:20 -0400
parents 70d630fddf55
children 23caf546dafe
comparison
equal deleted inserted replaced
6892:70d630fddf55 6893:d668e2800147
33 experimental: [false] 33 experimental: [false]
34 include: 34 include:
35 # example: if 3.12 fails the jobs still succeeds 35 # example: if 3.12 fails the jobs still succeeds
36 # - python-version: 3.12 36 # - python-version: 3.12
37 # experimental: true 37 # experimental: true
38 - os: ubuntu-22.04 38 - python-version: 2.7
39 python-version: 2.7 39 os: ubuntu-22.04
40 experimental: true 40 experimental: true
41 - os: ubuntu-22.04 41 - python-version: 3.11-dev
42 python-version: 3.11-dev 42 os: ubuntu-22.04
43 experimental: true 43 experimental: true
44 exclude: 44 exclude:
45 # disable all python versions except as explicitly included
45 - os: ubuntu-22.04 46 - os: ubuntu-22.04
46 47
47 env: 48 env:
48 # get colorized pytest output even without a controlling tty 49 # get colorized pytest output even without a controlling tty
49 PYTEST_ADDOPTS: "--color=yes" 50 PYTEST_ADDOPTS: "--color=yes"
64 - name: Set Up Python ${{ matrix.python-version }} 65 - name: Set Up Python ${{ matrix.python-version }}
65 uses: actions/setup-python@v4 66 uses: actions/setup-python@v4
66 with: 67 with:
67 python-version: ${{ matrix.python-version }} 68 python-version: ${{ matrix.python-version }}
68 cache: 'pip' 69 cache: 'pip'
70
71 - name: check file type of js
72 run: grep js /etc/mime.types
69 73
70 # Display the Python version being used 74 # Display the Python version being used
71 - name: Display Python version 75 - name: Display Python version
72 run: python -c "import sys; print(sys.version)" 76 run: python -c "import sys; print(sys.version)"
73 77
192 196
193 - name: test build_doc 197 - name: test build_doc
194 run: | 198 run: |
195 python ./setup.py build_doc 199 python ./setup.py build_doc
196 200
197 #- name: test docker build current version 201 - name: test if command
202 if: {{ matrix.python_version == "3.10" && matrix.os == "ubuntu-latest" }}
203 run: |
204 env
205 echo "{{ matrix.python_version }}"
206 echo "{{ matrix.os }}"
207
208 #- name: test docker build current version ubuntu-latest
209 # if: {{ matrix.python_version == "3.10" && matrix.os == "ubuntu-latest" }}
198 # run: | 210 # run: |
199 # docker build -t roundup-app-dev -f scripts/Docker/Dockerfile . 211 # docker build -t roundup-app-dev -f scripts/Docker/Dockerfile .
200 # mkdir tracker; chmod 777 tracker 212 # mkdir tracker; chmod 777 tracker
201 # docker run -d --rm -p 9017:8080 \ 213 # docker run -d --rm -p 9017:8080 \
202 # -v $PWD/tracker:/usr/src/app/tracker \ 214 # -v $PWD/tracker:/usr/src/app/tracker \

Roundup Issue Tracker: http://roundup-tracker.org/