Mercurial > p > roundup > code
diff .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 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Thu Sep 01 14:16:21 2022 -0400 +++ b/.github/workflows/ci-test.yml Thu Sep 01 14:37:20 2022 -0400 @@ -35,13 +35,14 @@ # example: if 3.12 fails the jobs still succeeds # - python-version: 3.12 # experimental: true - - os: ubuntu-22.04 - python-version: 2.7 + - python-version: 2.7 + os: ubuntu-22.04 experimental: true - - os: ubuntu-22.04 - python-version: 3.11-dev + - python-version: 3.11-dev + os: ubuntu-22.04 experimental: true - exclude: + exclude: + # disable all python versions except as explicitly included - os: ubuntu-22.04 env: @@ -67,6 +68,9 @@ python-version: ${{ matrix.python-version }} cache: 'pip' + - name: check file type of js + run: grep js /etc/mime.types + # Display the Python version being used - name: Display Python version run: python -c "import sys; print(sys.version)" @@ -194,7 +198,15 @@ run: | python ./setup.py build_doc - #- name: test docker build current version + - name: test if command + if: {{ matrix.python_version == "3.10" && matrix.os == "ubuntu-latest" }} + run: | + env + echo "{{ matrix.python_version }}" + echo "{{ matrix.os }}" + + #- name: test docker build current version ubuntu-latest + # if: {{ matrix.python_version == "3.10" && matrix.os == "ubuntu-latest" }} # run: | # docker build -t roundup-app-dev -f scripts/Docker/Dockerfile . # mkdir tracker; chmod 777 tracker
