Skip to content

Commit

Permalink
ci(test-action): build Docker image and run test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassebestik committed Feb 7, 2024
1 parent cda0ded commit dfae97d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test_jira_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on: [push]

jobs:
test_jira_sync:
name: test_jira_sync
name: Build Docker Image and Test JIRA Sync
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Test JIRA sync
uses: .
with:
entrypoint: ./test_sync_to_jira.py

- name: Build Docker Image
run: docker build . -t jira-sync-test

- name: Run Unit Tests
run: docker run -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} jira-sync-test /usr/bin/python3 /test_sync_to_jira.py

0 comments on commit dfae97d

Please sign in to comment.