attempt to configure gleam test action
Some checks are pending
Unit Tests / Run Tests (push) Waiting to run
Some checks are pending
Unit Tests / Run Tests (push) Waiting to run
This commit is contained in:
parent
b104c33126
commit
b13fa4d160
1 changed files with 12 additions and 19 deletions
31
.github/workflows/test.yml
vendored
31
.github/workflows/test.yml
vendored
|
|
@ -2,27 +2,20 @@ name: Unit Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
name: Run Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/gleam-lang/gleam:1.15.2-scratch
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: echo All good!
|
- name: Checkout code
|
||||||
# test:
|
uses: actions/checkout@v4
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
# steps:
|
- name: Run tests
|
||||||
# - name: Checkout code
|
working-directory: ./weather_portal
|
||||||
# uses: actions/checkout@v4
|
run: gleam test
|
||||||
|
|
||||||
# - 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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue