test: Add regression test for non-existent env var
This commit is contained in:
parent
470d5a5c08
commit
b3b993f2ae
|
@ -13,5 +13,8 @@ charset = utf-8
|
|||
[*.sh]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yaml,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
name: 'Run Tests'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'Execute tests'
|
||||
run: './run_tests'
|
|
@ -20,5 +20,4 @@ repos:
|
|||
additional_dependencies:
|
||||
- mdformat-gfm
|
||||
- mdformat-toc
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
|
||||
unset -v XDG_DATA_HOME
|
||||
make install
|
Loading…
Reference in New Issue