Cut pull_requests from workflow #2
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: Test AIMA | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: self-hosted | |
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 | |
- name: Lint/format with ruff | |
uses: chartboost/ruff-action@v1 | |
with: | |
args: 'format --check' | |
- name: Test with pytest | |
run: | | |
pytest |