Skip to content

Update README.md

Update README.md #45

Workflow file for this run

name: Build
on: [push, pull_request] # Run on pushes and pull requests
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.12' # Replace '3.x' with your Python version
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install fredapi pytest pandas python-dotenv fred
- name: Set environment variable
run: |
echo "API_KEY=${{ secrets.FRED_API_KEY }}" >> $GITHUB_ENV # FRED_API_KEY from repo secrets
- name: Run Tests
run: pytest