Skip to content

Adding pipeline testing stage #1

Adding pipeline testing stage

Adding pipeline testing stage #1

Workflow file for this run

name: Tests
on: [workflow_call]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: build
path: target/debug
- name: Show directory contents
run: tree -L 3
- name: Run tests
run: cargo test --verbose
name: Tests

Check failure on line 25 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
on: [workflow_call]
jobs:
linters:
name: Tests 🧪
runs-on: ubuntu-latest
container:
image: mattgomes28/urchin-golang:0.2
options: --user 1001
steps:
- uses: actions/checkout@v3
- name: Running Go Tests 🧪
run: |
go test ./... -v -race