Skip to content

Commit

Permalink
Merge branch 'master' into hyperupcall-fix-makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Dec 5, 2023
2 parents 7b2e28d + bcf78f7 commit 4b8885a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ charset = utf-8

[*.sh]
indent_size = 2

[*.{yaml,yml}]
indent_size = 2

[Makefile]
indent_style = tab
17 changes: 17 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -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'
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ repos:
additional_dependencies:
- mdformat-gfm
- mdformat-toc

# EOF
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export LC_ALL=C
FILE_NAME=lscolors
XDG_DATA_HOME ?= $(HOME)/.local/share
XDG_DATA_HOME := "$(XDG_DATA_HOME)"
Expand Down
5 changes: 5 additions & 0 deletions tests/works_without_env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
#

unset -v XDG_DATA_HOME
make install

0 comments on commit 4b8885a

Please sign in to comment.