-
Notifications
You must be signed in to change notification settings - Fork 13
35 lines (34 loc) · 914 Bytes
/
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
name: Test
on: [push, pull_request]
jobs:
test-c:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.11.0
- name: Run zig test
run: zig build test
test-python:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Ensure mappings are up-to-date
run: python scripts/generate_mappings.py test
- name: Install Python dependencies
working-directory: python
run: pip install -r requirements-dev.txt
- run: ls
- name: Run Python Tests
working-directory: python
run: tox -e py