Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Tests

on:
push:

jobs:
test:
runs-on: ubuntu-latest

steps:

uses: actions/checkout@v2


name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8


name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest


name: Run tests
run: |
python3 -m unittest tree_test.py
22 changes: 22 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest # Or any other dependencies

- name: Run tests
run: python -m unittest tree_test.py
27 changes: 27 additions & 0 deletions .github/workflows/python-app2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Tests

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest

- name: Run tests
run: |
python3 -m unittest tree_test.py
27 changes: 27 additions & 0 deletions .github/workflows/python-app3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Documentation

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Install Doxygen
run: sudo apt-get install -y doxygen

- name: Generate Documentation
run: |
doxygen Doxyfile

- name: Archive Documentation
uses: actions/upload-artifact@v2
with:
name: documentation
path: html/
Loading