Skip to content

fix environment variables in workflow #22

fix environment variables in workflow

fix environment variables in workflow #22

Workflow file for this run

### A CI workflow template that runs linting and python testing
### TODO: Modify as needed or as desired.
name: Test tap-fleetio
on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install
env:
TAP_FLEETIO_API_TOKEN: {{ secrets.TAP_FLEETIO_API_TOKEN }}

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

View workflow run for this annotation

GitHub Actions / Test tap-fleetio

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 29, Col: 32): A mapping was not expected .github/workflows/test.yml (Line: 30, Col: 36): A mapping was not expected
TAP_FLEETIO_ACCOUNT_TOKEN: {{ secrets.TAP_FLEETIO_ACCOUNT_TOKEN }}
- name: Test with pytest
run: |
poetry run pytest