Merge branch 'master' into hyperupcall-fix-makefile

This commit is contained in:
Edwin Kofler 2023-12-04 18:13:52 -08:00
commit 4b8885a7d8
No known key found for this signature in database
GPG key ID: A1E60C1F1A423B08
5 changed files with 29 additions and 1 deletions

View file

@ -12,3 +12,9 @@ charset = utf-8
[*.sh]
indent_size = 2
[*.{yaml,yml}]
indent_size = 2
[Makefile]
indent_style = tab

17
.github/workflows/tests.yaml vendored Normal file
View 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'

View file

@ -20,5 +20,4 @@ repos:
additional_dependencies:
- mdformat-gfm
- mdformat-toc
# EOF

View file

@ -1,3 +1,4 @@
export LC_ALL=C
FILE_NAME=lscolors
XDG_DATA_HOME ?= $(HOME)/.local/share
XDG_DATA_HOME := "$(XDG_DATA_HOME)"

5
tests/works_without_env Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
#
unset -v XDG_DATA_HOME
make install