forked from jonhoo/faktory-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 1.02 KB
/
ent.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 --locked --features ent --all-targets