attempt to configure gleam test action
Some checks are pending
Unit Tests / Run Tests (push) Waiting to run

This commit is contained in:
Travis Shears 2026-03-23 15:10:12 +01:00
parent b104c33126
commit b13fa4d160
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469

View file

@ -2,27 +2,20 @@ name: Unit Tests
on:
push:
branches: [main]
branches:
- main
jobs:
test:
runs-on: docker
name: Run Tests
runs-on: ubuntu-latest
container:
image: ghcr.io/gleam-lang/gleam:1.15.2-scratch
steps:
- run: echo All good!
# test:
# runs-on: ubuntu-latest
- name: Checkout code
uses: actions/checkout@v4
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Set up Gleam
# uses: gleam-lang/setup-gleam@v1
# with:
# gleam-version: latest
# - name: Install dependencies
# run: cd weather_portal && gleam deps download
# - name: Run tests
# run: cd weather_portal && gleam test
- name: Run tests
working-directory: ./weather_portal
run: gleam test