Skip to content

add workflow for lint and unit tests #4

add workflow for lint and unit tests

add workflow for lint and unit tests #4

Workflow file for this run

name: Test
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
# Need fetch-depth 0 for generating version based on tags/commits since tag
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ["3.11", "3.12"]

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 26, Col: 25): A sequence was not expected
- name: Install Deps
run: make setup
- name: Lint
run: make lint
- name: Run tests
run: make test