Skip to content

hw4.1

hw4.1 #159

Workflow file for this run

name: autotests
on:
pull_request:
push:
branches:
- main
jobs:
ftrackertest:
runs-on: ubuntu-latest
container: golang:1.21
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout tests code
uses: actions/checkout@v4
with:
repository: 'Yandex-Practicum/go-autotests'
path: '.autotests'
- name: Gather files
run: |
cp .autotests/cmd/fitnesstest/main_test.go ftracker/main_test.go
- name: Run tests
run: |
go mod tidy
cd ftracker
go test -test.v ./...