-
-
Notifications
You must be signed in to change notification settings - Fork 50
67 lines (63 loc) · 1.91 KB
/
main.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Default
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
push:
branches:
- main
- feat/v2
jobs:
# Sync:
# runs-on: formance-runner
# steps:
# - uses: 'actions/checkout@v3'
# with:
# fetch-depth: 0
# - name: Setup Env
# uses: ./.github/actions/env
# with:
# os: ${{ runner.os }}
# token: ${{ secrets.NUMARY_GITHUB_TOKEN }}
TestsIntegration:
runs-on: formance-runner
steps:
- uses: 'actions/checkout@v3'
with:
fetch-depth: 0
- name: Setup Env
uses: ./.github/actions/env
with:
os: ${{ runner.os }}
token: ${{ secrets.NUMARY_GITHUB_TOKEN }}
- run: 'devbox run -- moon run integration:tests'
env:
STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY_FOR_TEST }}
DOCKER_HOSTNAME: 172.17.0.1
- uses: 'moonrepo/run-report-action@v1'
if: success() || failure()
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
Moon:
runs-on: formance-runner
steps:
- uses: 'actions/checkout@v3'
with:
fetch-depth: 0
- name: Setup Env
uses: ./.github/actions/env
with:
os: ${{ runner.os }}
token: ${{ secrets.NUMARY_GITHUB_TOKEN }}
- run: 'devbox run -- moon ci'
env:
GITHUB_TOKEN: ${{ secrets.NUMARY_GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY_OSS }}
MOONBASE_ACCESS_KEY: ${{ secrets.MOONBASE_ACCESS_KEY }}
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }}
- uses: 'moonrepo/run-report-action@v1'
if: success() || failure()
with:
access-token: ${{ secrets.GITHUB_TOKEN }}