Skip to content

Correction of Goblin Specialists CR to 1/2 from 1 #329

Correction of Goblin Specialists CR to 1/2 from 1

Correction of Goblin Specialists CR to 1/2 from 1 #329

Workflow file for this run

name: "PR validation"
on:
pull_request:
types: [opened, reopened]
push:
branches-ignore:
- staging
- main
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Install Python 3.11
run: sudo apt install python3.11
- name: Install Pipenv
run: pip install --user pipenv
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: pipenv install --dev
- name: Run migrations
run: pipenv run python manage.py migrate
- name: Run Tests
run: pipenv run pytest
build:
runs-on: ubuntu-latest
steps:
- name: Sanitize branch name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF##*/} | tr '/' '-')" >> $GITHUB_ENV
- name: Build Docker image
uses: docker/build-push-action@v4
with:
push: false
tags: open5e-api:${{ env.BRANCH_NAME }}