Skip to content

Commit

Permalink
dev-infra: add github action support
Browse files Browse the repository at this point in the history
  • Loading branch information
leohidalgo committed Dec 24, 2023
1 parent b99a08b commit 1114f6c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: test

on:
push:
branches:
- main

env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_ENV_HINTS: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1

jobs:
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Install Basic Tooling
run: brew install xcbeautify
- name: Tests
run: swift test | xcbeautify
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Advent Of Code

[![test](https://github.com/leohidalgo/advent-of-code/actions/workflows/test.yml/badge.svg)](https://github.com/leohidalgo/advent-of-code/actions/workflows/test.yml)

0 comments on commit 1114f6c

Please sign in to comment.