Skip to content

Commit f000361

Browse files
committed
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.
1 parent 0b15036 commit f000361

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/ci-test.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ jobs:
3535
# example: if 3.12 fails the jobs still succeeds
3636
# - python-version: 3.12
3737
# experimental: true
38-
- os: ubuntu-22.04
39-
python-version: 2.7
38+
- python-version: 2.7
39+
os: ubuntu-22.04
4040
experimental: true
41-
- os: ubuntu-22.04
42-
python-version: 3.11-dev
41+
- python-version: 3.11-dev
42+
os: ubuntu-22.04
4343
experimental: true
44-
exclude:
44+
exclude:
45+
# disable all python versions except as explicitly included
4546
- os: ubuntu-22.04
4647

4748
env:
@@ -67,6 +68,9 @@ jobs:
6768
python-version: ${{ matrix.python-version }}
6869
cache: 'pip'
6970

71+
- name: check file type of js
72+
run: grep js /etc/mime.types
73+
7074
# Display the Python version being used
7175
- name: Display Python version
7276
run: python -c "import sys; print(sys.version)"
@@ -194,7 +198,15 @@ jobs:
194198
run: |
195199
python ./setup.py build_doc
196200

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" }}
198210
# run: |
199211
# docker build -t roundup-app-dev -f scripts/Docker/Dockerfile .
200212
# mkdir tracker; chmod 777 tracker

0 commit comments

Comments
 (0)