forked from invite-networks/kea_python
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 737 Bytes
/
ci.yml
File metadata and controls
31 lines (27 loc) · 737 Bytes
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
name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/phicus/kea-python-dev:latest
credentials:
username: ghcr.io/phicus
password: ${{ secrets.REGISTRY_TOKEN }}
volumes:
- "${{github.workspace}}:/workdir"
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install
working-directory: /workdir
run: autoreconf --install --force && ./configure && make install
- name: Run Python3 Tests
working-directory: /workdir
run: python3 -m pytest ./keamodule