Unit Test workflow #45
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: Unit Test workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: |- | |
cd /home/runner/work/vancouver_earthquake/vancouver_earthquake | |
python3 -m pip install --upgrade Pillow | |
pip3 install Mastodon.py | |
pip3 install tweepy | |
- name: Run tests | |
run: |- | |
cd /home/runner/work/vancouver_earthquake/vancouver_earthquake/ | |
python3 -m unittest discover |