mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-28 01:33:47 -07:00
github: Sync test workflow with that of xmonad-contrib
This commit is contained in:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Stack Tests
|
name: Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -24,8 +24,9 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.stack
|
path: ~/.stack
|
||||||
key: ${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }}
|
key: ${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('xmonad.cabal') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }}-
|
||||||
${{ runner.os }}-${{ matrix.resolver }}-
|
${{ runner.os }}-${{ matrix.resolver }}-
|
||||||
|
|
||||||
- name: Build and run tests
|
- name: Build and run tests
|
||||||
@@ -36,4 +37,3 @@ jobs:
|
|||||||
sudo apt install -y libasound2 libasound2-dev libxrandr-dev libtinfo-dev
|
sudo apt install -y libasound2 libasound2-dev libxrandr-dev libtinfo-dev
|
||||||
sudo apt install -y libx11-dev libgmp-dev libxss-dev libxft-dev
|
sudo apt install -y libx11-dev libgmp-dev libxss-dev libxft-dev
|
||||||
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
|
stack test --fast --no-terminal --resolver=${{ matrix.resolver }}
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
resolver: lts-16.22
|
resolver: lts-16.22
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- ./
|
- ./
|
||||||
|
|
||||||
extra-deps:
|
extra-deps:
|
||||||
- X11-1.9.2
|
- X11-1.9.2
|
||||||
|
Reference in New Issue
Block a user