Skip to content

Commit

Permalink
CI: run tox and tests in separate jobs
Browse files Browse the repository at this point in the history
Also: don't be completely quiet when installing packages.
  • Loading branch information
paride committed May 6, 2022
1 parent a247639 commit e0a3699
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@ jobs:
tox:
runs-on: ubuntu-18.04
steps:
- name: Update apt
run: sudo apt-get update -q
- name: Install dependencies
run: sudo DEBIAN_FRONTEND=noninteractive apt-get -qqy install tox lvm2 fdisk gdisk qemu-utils busybox
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install tox
- name: Git checkout
uses: actions/checkout@v2
- name: Run tox
run: tox
test:
runs-on: ubuntu-18.04
steps:
- name: Install dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install lvm2 fdisk gdisk qemu-utils busybox
- name: Git checkout
uses: actions/checkout@v2
- name: Run tests
# SKIP growpart-lvm test that does not work on github c-i
run: sudo SKIP=growpart-lvm PATH=$PWD/bin:$PATH ./test/run-all
Expand Down

0 comments on commit e0a3699

Please # to comment.