mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-11-17 17:15:18 +01:00
Merge pull request #211 from fox-forks/hyperupcall-tests
test: Add regression test for non-existent env var
This commit is contained in:
commit
bcf78f74be
4 changed files with 25 additions and 1 deletions
|
@ -13,5 +13,8 @@ charset = utf-8
|
|||
[*.sh]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yaml,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
17
.github/workflows/tests.yaml
vendored
Normal file
17
.github/workflows/tests.yaml
vendored
Normal file
|
@ -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
|
||||
|
|
5
tests/works_without_env
Executable file
5
tests/works_without_env
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
|
||||
unset -v XDG_DATA_HOME
|
||||
make install
|
Loading…
Reference in a new issue