Skip to content

Commit

Permalink
Add 'ent' test workflow for Enterprise Faktory feats
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Dec 9, 2023
1 parent fb7f016 commit fb8756b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test against Enterprise Faktory

on:
push:
pull_request:

jobs:
test:
runs-on: macos-latest
env:
FAKTORY_VERSION: 1.8.0
steps:
- uses: actions/checkout@v3

- name: ========== PROCURE REDIS (FAKTORY DEP) ===========
run: brew install redis

- name: ========== PROCURE FAKTORY BINARY ================
run: |
wget -O faktory.tbz https://github.com/contribsys/faktory/releases/download/v${{ env.FAKTORY_VERSION }}/faktory-ent_${{ env.FAKTORY_VERSION }}.macos.amd64.tbz
tar xfv faktory.tbz
cp ./faktory /usr/local/bin
- name: ========== LAUNCH FAKTORY SERVER =================
run: faktory &

- name: ========== PROCURE RUST TOOLCHAIN (STABLE) =======
run: |
rustup set profile minimal
rustup toolchain install stable
- name: ========== RUN TESTS FOR "ENT" FEATURE ===========
env:
FAKTORY_URL: tcp://127.0.0.1:7419
run: cargo test --features ent

0 comments on commit fb8756b

Please sign in to comment.