Skip to content

Add space

Add space #2

Workflow file for this run

# .github/workflows/api-test.yml
name: API Tests
on:
pull_request:
branches: [ main ]
jobs:
api-tests:
runs-on: ubuntu-latest
env:
BASE_URL: "http://54.73.240.131:5000" # Fava host:port
LEDGER_SLUG: "example-beancount-file" # URL prefix in your paths
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 1
repository: ahdsab/FavaTesting
token: ${{ secrets.TESTING_GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run API tests
env:
BASE_URL: ${{ env.BASE_URL }}
LEDGER_SLUG: ${{ env.LEDGER_SLUG }}
run: |
cd API_Testing
pytest -q