EXAMPLES : Fix uvloop dependency issue. #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Example Tests Running on Github Actions | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- examples/commandline/** | |
- examples/restapi/** | |
- examples/pythonapi/** | |
jobs: | |
regression: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
#- name: enable arm containers | |
#run: | | |
#sudo apt-get update | |
#sudo apt-get install qemu-system-arm qemu-efi qemu-user-static -y | |
# REST API Integration Tests | |
- name: build restapi | |
run: | | |
cd examples/restapi | |
./run.sh make | |
- name: regression test restapi | |
run: | | |
cd examples/restapi | |
./run.sh regression | |
# Interactive Command Line Integration Tests | |
- name: build command line | |
run: | | |
cd examples/commandline | |
./run.sh make | |
- name: regression test commandline | |
run: | | |
cd examples/commandline | |
./run.sh pytest | |
# Python API Integration Tests | |
- name: build python api | |
run: | | |
cd examples/pythonapi | |
./run.sh make | |
- name: regression test python api | |
run: | | |
cd examples/pythonapi | |
./run.sh pytest |