This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Bump pip from 23.2.1 to 23.3 #588
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: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.x | |
- uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install libjpeg8 libjpeg-dev libpng-dev libpq-dev -y | |
poetry install | |
- name: Run Tests | |
env: | |
# the secret will not be present on any PRs from forks, so this stops | |
# the job from exploding | |
COVERALLS_REPO_TOKEN: '${{ secrets.COVERALLS_REPO_TOKEN }}' | |
run: | | |
poetry run make setup | |
poetry run pytest --workers=auto | |
if [ "$COVERALLS_REPO_TOKEN" != "" ]; then | |
poetry run coveralls | |
fi |