Skip to content

Commit

Permalink
Merge pull request #9 from moazreyad/ubuntu-16
Browse files Browse the repository at this point in the history
feat: Add GitHub Actions for Ubuntu 16.04
  • Loading branch information
sranasir authored Feb 15, 2023
2 parents 176a948 + fc522c3 commit 97f3747
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 32 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:

sciunit-test-with-tox:
runs-on: ubuntu-20.04
sciunit-test-ubuntu-20-04-with-tox:
runs-on: ubuntu-latest
container: geotrust/build-essential:ubuntu20.04
steps:
- uses: actions/checkout@v3
Expand All @@ -19,3 +19,27 @@ jobs:
run: pip3 install tox
- name: test-with-tox
run: tox

sciunit-test-ubuntu-16-04-with-tox:
runs-on: ubuntu-latest
container: geotrust/build-essential:ubuntu16.04
steps:
- name: install-https
run: apt-get update && apt install apt-transport-https
- name: update-git
run: echo "deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu xenial main" >> /etc/apt/sources.list
- name: install-key
run: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E1DD270288B4E6030699E45FA1715D88E1DF1F24
- name: install
run: apt-get update && apt-get install git -y
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: git-config
run: git config --global --add safe.directory /__w/sciunit/sciunit
- name: update-pip
run: pip3 install --upgrade pip
- name: install-tox
run: pip3 install tox
- name: test-with-tox
run: tox -e py37
30 changes: 0 additions & 30 deletions bitbucket-pipelines.yml

This file was deleted.

0 comments on commit 97f3747

Please sign in to comment.