2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-02 09:40:27 +00:00

attempt to run not in docker for workflow test

This commit is contained in:
kevin zhuang 2020-05-15 13:57:52 +10:00
parent c83c68b8bf
commit af9d2be4eb
3 changed files with 25 additions and 25 deletions

24
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: ci
on: [push, pull_request]
defaults:
run:
shell: bash
working-directory: .
jobs:
ubuntu:
runs-on: [ubuntu-latest, ubuntu-16.04]
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g bats
- run: ./dotbare finit -u https://github.com/kazhala/dotfiles.git
- run: bats tests

View File

@ -1,24 +0,0 @@
name: DockerBuild
on:
push:
branches:
- master
defaults:
run:
shell: bash
working-directory: .
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kazhala/dotbare
tags: latest

View File

@ -1,7 +1,7 @@
# dotbare
[![Build Status](https://travis-ci.com/kazhala/dotbare.svg?branch=master&label=travis%20build)](https://travis-ci.com/kazhala/dotbare)
![DockerBuild](https://github.com/kazhala/dotbare/workflows/DockerBuild/badge.svg)
![CI Status](https://github.com/kazhala/dotbare/workflows/ci/badge.svg)
![AWSCodeBuild](https://codebuild.ap-southeast-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiYWVnOEdGbWxuMmpJdVF2S3RTOFdUeGhEZDZvVkZ1cnBtZGJjd0RuOFdxUWxGeG1zR2YycFcydFJZT25VV3NkZnNsRWJ4ZVNsZ0VxZnpOY3RFUGdMV0RNPSIsIml2UGFyYW1ldGVyU3BlYyI6IlNDNjNHTlkyS2ZmbE5lZGIiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
WIP