Skip to content

handle empty remote_outputs_dir #49

handle empty remote_outputs_dir

handle empty remote_outputs_dir #49

Workflow file for this run

name: CI Pipeline
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
django-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_USER: local
POSTGRES_PASSWORD: local
POSTGRES_DB: postgres
steps:
- name: Setup repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.1
- name: Setup Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.4.2
- name: Automated Tests
run: poetry install && poetry run pytest
django-docker-build:
needs: django-tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag hpcc-services:$(date +%s)