diff --git a/.github/workflows/test-on-pr.yml b/.github/workflows/tests.yml similarity index 93% rename from .github/workflows/test-on-pr.yml rename to .github/workflows/tests.yml index 161c848..91cfa57 100644 --- a/.github/workflows/test-on-pr.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Run Tests on PR +name: Tests on: pull_request: branches: diff --git a/README.md b/README.md index a61cea8..1acf082 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Position (A JavaScript package) +[![The result of the latest test run](https://github.com/TopMarksDevelopment/JavaScript.Position/actions/workflows/tests.yml/badge.svg)](https://github.com/TopMarksDevelopment/JavaScript.Position/actions/workflows/tests.yml) + A small package to help position a floating element. This can be positioned relative to another elements' current screen position, or to a mouse event. ### Links