[Develop] VMWare cleanup alignment with Develop branch #226
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
# CI stages to execute against Pull Requests | |
name: Pull Requests | |
on: | |
pull_request: | |
types: ["opened", "synchronize", "reopened"] | |
env: | |
PYCURL_SSL_LIBRARY: openssl | |
jobs: | |
codechecks: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11'] | |
steps: | |
- name: Checkout Cloudwash | |
uses: actions/checkout@v4 | |
- name: Set Up Python-${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
sudo apt update | |
sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev | |
# Uninstall pycurl - its likely not installed, but in case the ubuntu-latest packages change | |
# then compile and install it with PYCURL_SSL_LIBRARY set to openssl | |
pip install -U pip wheel | |
pip uninstall -y pycurl | |
pip install --compile --no-cache-dir pycurl | |
pip install .[dev] | |
cp settings.yaml.template settings.yaml | |
- name: Pre Commit Checks | |
uses: pre-commit/action@v3.0.0 | |
- name: Analysis (git diff) | |
if: failure() | |
run: git diff |