Skip to content

Commit f00546b

Browse files
authored
Merge pull request #185 from compas-dev/github_actions
GitHub actions
2 parents 042b24d + 2fa86d8 commit f00546b

File tree

4 files changed

+119
-88
lines changed

4 files changed

+119
-88
lines changed

.github/workflows/basic.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: basic
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
name: [
17+
"windows-py38",
18+
"macos-py37",
19+
"ubuntu-py36",
20+
]
21+
include:
22+
- name: "windows-py38"
23+
os: windows-latest
24+
python-version: 3.8
25+
- name: "macos-py37"
26+
os: macos-latest
27+
python-version: 3.7
28+
- name: "ubuntu-py36"
29+
os: ubuntu-latest
30+
python-version: 3.6
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Set up Python ${{ matrix.python-version }}
34+
uses: actions/setup-python@v2
35+
with:
36+
python-version: ${{ matrix.python-version }}
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip
40+
python -m pip install cython --install-option="--no-cython-compile"
41+
- name: Install
42+
run: |
43+
python -m pip install --no-cache-dir -r requirements-dev.txt
44+
- name: Run tests
45+
run: |
46+
invoke test

.github/workflows/integrated.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: integrated
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
name: ubuntu-py38-integrated
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python 3.8
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.8
21+
- name: Set up docker containers
22+
run: |
23+
docker run -p 19997:19997 --name vrep_rfl -d gramaziokohler/vrep-rfl
24+
docker-compose -f "docs/backends/files/ur5-demo/docker-compose.yml" up -d --build
25+
docker ps -a
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
python -m pip install cython --install-option="--no-cython-compile"
30+
- name: Install
31+
run: |
32+
python -m pip install --no-cache-dir -r requirements-dev.txt
33+
- name: Run linter
34+
run: |
35+
invoke lint
36+
- name: Run integration tests
37+
run: |
38+
invoke test --doctest --codeblock
39+
- name: Tear down docker containers
40+
run: |
41+
docker-compose -f "docs/backends/files/ur5-demo/docker-compose.yml" down
42+
docker rm -f vrep_rfl
43+
- name: Generate docs
44+
if: ${{ success() }}
45+
run: |
46+
invoke docs

.github/workflows/ironpython.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ironpython
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
name: windows-ironpython
14+
runs-on: windows-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setting IronPython path
18+
run: echo "::set-env name=IRONPYTHONPATH::$env:GITHUB_WORKSPACE/src"
19+
- name: Install dependencies
20+
run: |
21+
choco install ironpython --version=2.7.8.1
22+
ipy -X:Frames -m ensurepip
23+
ipy -X:Frames -m pip install --no-deps compas roslibpy
24+
ipy -X:Frames -m pip install ironpython-pytest
25+
- name: Run tests
26+
run: |
27+
ipy tests/ipy_test_runner.py

.travis.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)