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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue