Merge pull request #18 from HTTPArchive/development #25
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: Tech Report API Pipeline | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'feature**' | |
delete: | |
branches: | |
- 'feature**' | |
# env: | |
# PIPELINE_USER_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
jobs: | |
test: | |
if: github.event_name == 'push' | |
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 | |
python -m pip install pytest | |
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi | |
- name: Test with pytest | |
run: | | |
python -m pytest -W "ignore" | |