Skip to content

Cut self-hosted server and add MacOS latest version to workflow #4

Cut self-hosted server and add MacOS latest version to workflow

Cut self-hosted server and add MacOS latest version to workflow #4

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Format and test AIMA

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 22, Col: 3): The identifier 'lint/format' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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