forked from osrf/rocker
-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (28 loc) · 903 Bytes
/
basic-ci.yaml
File metadata and controls
29 lines (28 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Basic CI
on: [push, pull_request]
jobs:
basic_ci:
name: Basic CI
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies And Self
run: |
python -m pip install --upgrade pip setuptools wheel
# Workaround for https://github.com/docker/docker-py/issues/2807
python -m pip install six
pip install codecov coverage nose
pip install .
- name: Run headless tests
uses: GabrielBB/xvfb-action@v1
with:
run: nosetests -s -v --with-coverage --cover-package rocker --exclude test_nvidia_glmark2
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1