mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 11:34:44 +08:00
23 lines
441 B
YAML
23 lines
441 B
YAML
name: test on ubuntu
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build test container
|
|
run: docker build --rm -t mscp-test -f docker/Dockerfile-test .
|
|
- name: Run test
|
|
run: docker run --init --rm mscp-test bash -c "/usr/sbin/sshd; cd /mscp/build; ctest --verbose"
|
|
|