Skip to content

Commit

Permalink
Test action
Browse files Browse the repository at this point in the history
  • Loading branch information
korycins committed Nov 16, 2023
1 parent 8651f26 commit e23be58
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test-migrations-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ name: Test migrations compatibility

on:
pull_request:
branches:
- "3.*"
- "main"
paths:
- "**/migrations/**"
branches: ["**"]

env:
DATABASE_URL: "postgres://saleor:saleor@postgres:5432/saleor"
SECRET_KEY: ci-test

jobs:
build:
if: ${{ ((github.event.action == 'labeled') && (github.event.label.name == 'test')) || ((github.event.action != 'labeled') && contains(github.event.pull_request.labels.*.name, 'test')) }}
runs-on: ubuntu-latest
container: python:3.9

Expand Down Expand Up @@ -60,7 +57,7 @@ jobs:
- name: Checkout base
uses: actions/checkout@v4
with:
ref: ${{ github['base_ref'] }}
ref: ${{ github['head_ref'] }}-zero-downtime

- name: Run tests
run: |
Expand Down

0 comments on commit e23be58

Please sign in to comment.