Skip to content

trying an environment variable for opts #6

trying an environment variable for opts

trying an environment variable for opts #6

Workflow file for this run

name: Run Tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create .env file
run: cat env.* > .env
- name: Load .env file
uses: xom9ikk/dotenv@v2
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'poetry'
- run: poetry install
- name: Run tests
env:
PYTEST_ADDOPTS="--cov=aim --cov-report=term:skip-covered"

Check failure on line 24 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / Run Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 24, Col: 12): Unexpected value 'PYTEST_ADDOPTS="--cov=aim --cov-report=term:skip-covered"'
run: poetry run pytest
- name: ls
run: ls