Skip to content

SPT-1998 Модульные тесты часть 2 #98

SPT-1998 Модульные тесты часть 2

SPT-1998 Модульные тесты часть 2 #98

Workflow file for this run

name: CI
# Controls when the action will run.
on:
push:
branches:
- master
pull_request:
branches:
- '**'
types: [ opened, edited, synchronize, reopened ]
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Init
run: |
make init
- name: Force select xcode 15
run: |
sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Build
run: |
make build
- name: SPM Build
run: |
make spm_build
- name: Tests
run: |
make test
- name: Upload coverage to Codecov
uses: actions/checkout@master
uses: codecov/codecov-action@v4

Check failure on line 39 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 39, Col: 7): 'uses' is already defined
with:
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: documentation
if: github.ref == 'refs/heads/master'
run: |
make doc
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: chausovSurfStudio
author_email: [email protected]
message: "Updates for documentation"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}