Colorize: Granularly wrap each given stream with Colorama (#1506) #1636
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ubuntu | |
on: | |
pull_request: | |
paths: | |
- 'src/**' | |
- '.github/workflows/ubuntu.yaml' | |
- '!src/rez/utils/_version.py' | |
- '!**.md' | |
push: | |
paths: | |
- 'src/**' | |
- '.github/workflows/ubuntu.yaml' | |
- '!src/rez/utils/_version.py' | |
- '!**.md' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
name: main | |
runs-on: ubuntu-${{ matrix.os-version }} | |
strategy: | |
matrix: | |
os-version: | |
- '20.04' | |
- '22.04' | |
python-version: | |
- '2.7' | |
- '3.7' | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup python ${{ matrix.python-version }} | |
uses: ./.github/actions/setup-python | |
with: | |
python-version: ${{ matrix.python-version }} | |
os: ubuntu | |
- name: apt-get update | |
run: | | |
sudo apt-get update | |
- name: Verify cmake | |
run: | | |
cmake --version | |
- name: Verify pwsh | |
run: | | |
pwsh --version | |
- name: Install csh | |
run: | | |
sudo apt-get install -y csh | |
- name: Install tcsh | |
run: | | |
sudo apt-get install -y tcsh | |
- name: Install zsh | |
run: | | |
sudo apt-get install -y zsh | |
- name: Install Rez | |
run: | | |
if [[ "${{ matrix.python-version }}" == "2.7" ]]; then | |
eval "$(conda shell.bash hook)" | |
conda activate python | |
fi | |
mkdir ./installdir | |
python --version | |
python ./install.py ./installdir | |
- name: Install Rez test dependencies | |
run: | | |
./installdir/bin/rez/rez-python -m pip install pytest-cov | |
./installdir/bin/rez/rez-python -m pip install parameterized | |
- name: Run Rez Tests | |
run: | | |
./installdir/bin/rez/rez-selftest -v | |
env: | |
_REZ_ENSURE_TEST_SHELLS: sh,csh,bash,tcsh,zsh,pwsh |