Skip to content

Instantly share code, notes, and snippets.

@natyrix
Created August 11, 2022 09:56
Show Gist options
  • Save natyrix/df47b89fb27696772ce594d1fdf7eaaa to your computer and use it in GitHub Desktop.
Save natyrix/df47b89fb27696772ce594d1fdf7eaaa to your computer and use it in GitHub Desktop.
name: twitter-data-analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
python -m pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment