Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions from main repo #72

Merged
merged 16 commits into from
Aug 5, 2021
Prev Previous commit
Next Next commit
Small changes to ci yml
  • Loading branch information
kejacobson committed Aug 5, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c0f624971bb6d2b3c99db3dfeb3065d48578c238
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run unit tests and build docs
name: Unit tests and docs

on:
# Triggers the workflow on push or pull request events but only for the main branch
@@ -19,10 +19,6 @@ jobs:

steps:

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
run: |
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
@@ -77,7 +73,7 @@ jobs:
echo "Run the tests.";
echo "=============================================================";
cd tests/unit_tests
testflo -n 1
testflo
echo "=============================================================";
echo "Build the docs.";
echo "=============================================================";