Version 1.1.1 #43
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
# Workflow to install Python dependencies, run tests and coverage | |
name: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Build and install package | |
run: | | |
python -m pip install --upgrade pip | |
./build.sh | |
pip install --find-links --no-index ./django-starcross-gallery django-starcross-gallery | |
pip install coveralls | |
- name: Test with coverage | |
run: | | |
coverage run --source=gallery runtests.py | |
coveralls --service=github | |