Update of the documentation (prepare for the old web site to be offline) #292
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: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install sass | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes ruby-sass build-essential | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
pip install -e '.[dev]' | |
whotracksme --help | |
- name: Fetch test data assets | |
run: | | |
aws --no-sign-request s3 cp --recursive s3://data.whotracks.me/2017-06 2017-06 | |
aws --no-sign-request s3 cp --recursive s3://data.whotracks.me/2021-06 2021-06 | |
working-directory: whotracksme/data/assets | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
- name: Run tests | |
run: | | |
pytest | |
- name: Check build | |
run: | | |
whotracksme website |