-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (47 loc) · 1.53 KB
/
test.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
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow_failures }}
strategy:
matrix:
include:
- learnocaml_image: "ocamlsf/learn-ocaml"
learnocaml_version: "0.12"
use_passwd: "false"
client_version: "oauth-moodle-dev"
allow_failures: false
- learnocaml_image: "pfitaxel/learn-ocaml"
learnocaml_version: "oauth-moodle-dev"
use_passwd: "false"
client_version: "oauth-moodle-dev"
allow_failures: false
- learnocaml_image: "pfitaxel/learn-ocaml"
learnocaml_version: "oauth-moodle-dev"
use_passwd: "true"
client_version: "oauth-moodle-dev"
allow_failures: false
# at most 20 concurrent jobs per free account:
max-parallel: 4
# don't cancel all in-progress jobs if one matrix job fails:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Setup ert-problem-matcher
run: echo "::add-matcher::.github/ert.json"
- name: Script
env:
EMACS_IMAGE_VERSION: "pfitaxel/emacs-learn-ocaml-client:${{ matrix.client_version }}"
LEARNOCAML_IMAGE: ${{ matrix.learnocaml_image }}
LEARNOCAML_VERSION: ${{ matrix.learnocaml_version }}
USE_PASSWD: ${{ matrix.use_passwd }}
run: |
make dist-tests || ( ret=$?; make stop; exit $ret )
make stop