Skip to content

added packaging step #127

added packaging step

added packaging step #127

Workflow file for this run

name: Docker
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install requirements
run: |
pip3 install -r requirements.txt
- name: Install QGIS
run: |
sudo apt update && sudo apt install -y qgis
- name: Start docker stack
run: docker-compose up --build -d
- name: Wait a little bit
run: sleep 5
- name: Running migrations
run: python manage.py migrate
- name: Running tests
run: |
python manage.py test comptages.test -v2
- name: Setting up build tools
run: pip install qgis-plugin-ci
- name: Trying to build / package
run: |
latest_tag=${GITHUB_REF#refs/*/}
qgis-plugin-ci package $latest_tag