21 lines
520 B
YAML
21 lines
520 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches: [master, main]
|
|
jobs:
|
|
test:
|
|
runs-on: [self-hosted, linux, docker]
|
|
container: catthehacker/ubuntu:act-22.04
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
- name: install runtime deps
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq python3-venv
|
|
- name: prime venv with package + test deps
|
|
run: |
|
|
make env
|
|
env/bin/pip install -r requirements.txt
|
|
- name: test
|
|
run: make test
|