Limit iterated posts to those made since start of service #226
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
# Run on push to main | |
push: | |
paths: | |
- 'notifier/**' | |
- 'tests/**' | |
- 'pyproject.toml' | |
- 'config/config.toml' | |
- '.github/workflows/tests.yml' | |
branches: [ main ] | |
# Run on PR | |
pull_request: | |
paths: | |
- 'notifier/**' | |
- 'tests/**' | |
- 'pyproject.toml' | |
- 'config/config.toml' | |
- '.github/workflows/tests.yml' | |
# Run manually | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: ./tests/run_tests.sh |