From dcbb2513b89f0876c895d3b09b65a7021c6845aa Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 23 Jan 2025 17:15:10 -0600 Subject: [PATCH] add test on push --- .github/workflows/tests.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..3e7cc91 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,24 @@ +name: Run Tests + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + steps: + - uses: actions/checkout@v4 + + - uses: jiro4989/setup-nim-action@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Run Tests + run: | + nim develop + nim tests