Cut self-hosted server and add MacOS latest version to workflow #4
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: Format and test AIMA | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.11" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest | ||
lint/format: | ||
Check failure on line 22 in .github/workflows/test.yml GitHub Actions / Format and test AIMAInvalid workflow file
|
||
runs-on: self-hosted | ||
steps: | ||
- name: Lint/format with ruff | ||
uses: chartboost/ruff-action@v1 | ||
with: | ||
args: 'format --check' | ||
test: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Test with pytest | ||
run: | | ||
pytest |