fix retrieval of resources whenever all GPU shards are in use (AB#23640) #6
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: Lint&Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🏷️ | |
uses: actions/checkout@v3 | |
- name: Set up Python 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies ⚙️ | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[dev] | |
- name: Log Python environment ✏️ | |
run: | | |
pip freeze | |
- name: black ◼️ | |
run: black --check . | |
- name: flake8 ❄️ | |
run: flake8 . | |
- name: mypy 🧐 | |
run: mypy | |
- name: check-manifest 📰 | |
run: check-manifest | |
- name: Install Node v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install configurable-http-proxy | |
run: | | |
npm install -g configurable-http-proxy | |
npm list | |
- name: pytest tests 👓 | |
run: python -m pytest -v |