Skip to content

feat: Update GitHub workflow to trigger on push events only #141

feat: Update GitHub workflow to trigger on push events only

feat: Update GitHub workflow to trigger on push events only #141

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run unit tests
run: python -m unittest discover -s tests
env:
OMNIVORE_API_TOKEN: ${{ secrets.OMNIVORE_API_TOKEN }}