Skip to content

Commit

Permalink
Merge pull request #471 from openxc/GA-vagrant
Browse files Browse the repository at this point in the history
Initial Github Actions testing for vagrant
  • Loading branch information
pjt0620 committed Feb 9, 2021
2 parents 439c910 + 81d3f10 commit 233e2fa
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/run-tests.yml
@@ -0,0 +1,44 @@
# This is a basic workflow to help you get started with Actions

name: Run Tests

# Controls when the action will run.
on: [pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Set Up Python 3.6
run: |
TERM=xterm
sudo apt-get update -qq
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get update -qq
sudo apt-get install python3.6 -y
sudo rm /usr/bin/python3
sudo ln -s /usr/bin/python3.6 /usr/bin/python3
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo apt-get install -qq -y libsubunit-dev
# Runs a single command using the runners shell
- name: Bootstrap
run: |
script/bootstrap.sh
- name: Build Tests
run: |
cd src
PLATFORM=TESTING make test

0 comments on commit 233e2fa

Please sign in to comment.