Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Github Actions for Build & Test #61

Merged
merged 4 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions .circleci/config.yml

This file was deleted.

31 changes: 28 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Go
name: Build & Tests

on:
push:
branches: [ master ]
branches: [ master, ci-testing ]
pull_request:
branches: [ master ]

Expand All @@ -17,4 +17,29 @@ jobs:
with:
go-version: 1.18
- name: Build
run: make
run: make build
test:
services:
jira:
image: docker.pkg.github.com/fourplusone/docker-atlas/jira:latest
options: --tty --health-start-period=10m
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
ports:
- 2990:2990
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18

- name: Test
env:
JIRA_URL: http://localhost:2990/jira/
JIRA_USER: admin
JIRA_PASSWORD: admin
run: make test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# terraform-provider-jira

[![Build & Tests](https://github.com/fourplusone/terraform-provider-jira/actions/workflows/go.yml/badge.svg)](https://github.com/fourplusone/terraform-provider-jira/actions/workflows/go.yml)

Terraform Provider for managing JIRA. (__[View on registry.terraform.io](https://registry.terraform.io/providers/fourplusone/jira/latest)__)

## Data Sources
Expand Down