Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 6902:3871eeafe73c
new tests - matrix.python_version not resolving right
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 01 Sep 2022 15:38:57 -0400 |
| parents | 6663fec097a6 |
| children | 02d91a31ed9a |
comparison
equal
deleted
inserted
replaced
| 6901:6663fec097a6 | 6902:3871eeafe73c |
|---|---|
| 73 | 73 |
| 74 - name: show matrix vars | 74 - name: show matrix vars |
| 75 run: | | 75 run: | |
| 76 env | 76 env |
| 77 echo "${{ matrix.python_version }}" | 77 echo "${{ matrix.python_version }}" |
| 78 echo "$PYTHON_VERSION" | |
| 78 echo "${{ matrix.os }}" | 79 echo "${{ matrix.os }}" |
| 79 | 80 |
| 80 - name: test if statement | 81 - name: test if statement |
| 81 if: matrix.python_version == '3.10' && matrix.os == 'ubuntu-latest' | 82 if: matrix.python_version == '3.10' && matrix.os == 'ubuntu-latest' |
| 83 run: echo "I ran so far awaaay" | |
| 84 | |
| 85 - name: test if statement os only | |
| 86 if: matrix.os == 'ubuntu-latest' | |
| 82 run: echo "I ran so far awaaay" | 87 run: echo "I ran so far awaaay" |
| 83 | 88 |
| 84 # Display the Python version being used | 89 # Display the Python version being used |
| 85 - name: Display Python version | 90 - name: Display Python version |
| 86 run: python -c "import sys; print(sys.version)" | 91 run: python -c "import sys; print(sys.version)" |
