Skip to content

Constraint dependency PyPDF<2 #263

Constraint dependency PyPDF<2

Constraint dependency PyPDF<2 #263

Workflow file for this run

---
name: Continuous integration
on:
push:
jobs:
main:
name: Continuous integration
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
TX_TOKEN: ${{ secrets.TX_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Build
run: make build
- name: Lint
run: make check
- name: Tests
run: make test
- name: Publish to Docker hub
if: >
github.repository == 'GFDRR/thinkhazard'
&& success()
&& (
startsWith(github.ref, 'refs/tags/')
|| github.ref == 'refs/heads/master'
)
run: |
docker login --username ${DOCKER_USERNAME} --password ${DOCKER_PASSWORD}
make docker-push
- name: Push to transifex
if: >
github.repository == 'GFDRR/thinkhazard'
&& success()
&& github.ref == 'refs/heads/master'
run: make transifex-push-ui