Skip to content

update(.github): change configure command #8

update(.github): change configure command

update(.github): change configure command #8

Workflow file for this run

name: Run tests
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
lint:

Check failure on line 10 in .github/workflows/run_tests.yaml

View workflow run for this annotation

GitHub Actions / Run tests

Invalid workflow file

The workflow is not valid. .github/workflows/run_tests.yaml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Lint with pre-commit
run: poetry run pre-commit run --all-files
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Test with pytest
run: poetry run pytest