Remove CircleCI config #19
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: facebookresearch/hydra/plugin_tests | |
on: | |
push: | |
inputs: | |
test_plugins: | |
required: true | |
default: hydra_rq_launcher,hydra_ax_sweeper,hydra_submitit_launcher,hydra_nevergrad_sweeper | |
jobs: | |
test_plugin_linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
py_version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
test_plugin: | |
- "${{ inputs.test_plugins }}" | |
steps: | |
- uses: actions/checkout@v4.1.0 | |
- uses: "./.github/actions/linux" | |
with: | |
py_version: "${{ matrix.py_version }}" | |
- name: "${{ matrix.test_plugin }}" | |
run: |- | |
export PATH="$HOME/miniconda3/envs/hydra/bin:$PATH" | |
export NOX_PYTHON_VERSIONS=${{ matrix.py_version }} | |
export PLUGINS=${{ matrix.test_plugin }} | |
pip install nox dataclasses --progress-bar off | |
nox -s lint_plugins test_plugins test_plugins_vs_core -ts | |
test_plugin_macos: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
py_version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
test_plugin: | |
- "${{ inputs.test_plugins }}" | |
steps: | |
- uses: actions/checkout@v4.1.0 | |
- uses: "./.github/actions/macos" | |
with: | |
py_version: "${{ matrix.py_version }}" | |
- name: "${{ matrix.test_plugin }}" | |
run: |- | |
source $HOME/.bash_profile | |
export NOX_PYTHON_VERSIONS=${{ matrix.py_version }} | |
export PLUGINS=${{ matrix.test_plugin }} | |
conda activate hydra | |
pip install nox dataclasses --progress-bar off | |
nox -s lint_plugins test_plugins test_plugins_vs_core -ts | |
test_plugin_win: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
py_version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
test_plugin: | |
- "${{ inputs.test_plugins }}" | |
steps: | |
- uses: actions/checkout@v4.1.0 | |
- uses: "./.github/actions/windows" | |
- name: "${{ matrix.test_plugin }}" | |
run: |- | |
$env:NOX_PYTHON_VERSIONS="${{ matrix.py_version }}" | |
$env:ConEmuDefaultCp=65001 | |
$env:PYTHONIOENCODING="utf_8" | |
$env:PLUGINS="${{ matrix.test_plugin }}" | |
conda activate hydra | |
nox -s lint_plugins test_plugins test_plugins_vs_core -ts | |
exit $LASTEXITCODE |