Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Aug 9, 2024
1 parent a219e44 commit 75d8bb1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test

on:
pull_request:
push:
branches: ["main"]

jobs:
test:
name: Integration tests
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Build container image
run: docker build -t nexus_allowlist:latest .

- name: Start service
run: docker-compose up -d

- name: Wait for Nexus to start
run: sleep 60

- name: Run tests
working-directory: integration_tests
run: test.sh

0 comments on commit 75d8bb1

Please sign in to comment.