-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 990 Bytes
/
tests.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: Run Tests
on:
push:
branches:
- devel
- main
pull_request:
branches:
- devel
- main
jobs:
Tests:
strategy:
matrix:
nimversion:
- binary:2.0.0
- binary:1.6.10
os:
- ubuntu-latest
#- windows-latest
#- macOS-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 30
name: Nim ${{ matrix.nimversion }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: iffy/install-nim@v4
with:
version: ${{ matrix.nimversion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: |
sudo apt-get update
sudo apt-get install -y openssl libsodium-dev xz-utils argon2
nimble install -y
nimble test
Docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docs
run: docker-compose run docs