Switch to buildenv for test builds
This commit is contained in:
parent
4ce20e3dd9
commit
453dc515e8
@ -7,30 +7,19 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
audit:
|
audit:
|
||||||
runs-on: haskell
|
runs-on: buildenv
|
||||||
steps:
|
steps:
|
||||||
- name: Set up environment
|
|
||||||
run: |
|
|
||||||
apt-get update -y
|
|
||||||
apt-get upgrade -y
|
|
||||||
apt-get install -y nodejs pkg-config liblzma-dev
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- run: hlint src lib tests
|
||||||
run: |
|
|
||||||
cabal update
|
|
||||||
cabal install hlint "--constraint=hlint ==3.8"
|
|
||||||
- run: cabal exec hlint -- src lib tests
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: haskell
|
runs-on: buildenv
|
||||||
steps:
|
steps:
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get upgrade -y
|
apt-get upgrade -y
|
||||||
apt-get install -y nodejs pkg-config liblzma-dev
|
apt-get install -y liblzma-dev
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- run: cabal update
|
||||||
run: |
|
|
||||||
cabal update
|
|
||||||
- run: cabal test --test-show-details=streaming
|
- run: cabal test --test-show-details=streaming
|
||||||
|
Loading…
Reference in New Issue
Block a user