Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Переход с Travis CI на GitHub Actions #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tests

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
steps:
- uses: actions/checkout@v4

- name: Setup GOST engine
run: |
sudo apt install libengine-gost-openssl1.1
sudo bash tests/.configure-gost-openssl.sh

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: composer update --prefer-dist --no-progress

- name: Run test suite
run: |
chmod 000 tests/_data/non_readable_file
php vendor/codeception/codeception/codecept run
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Единая система идентификации и аутентификации (ЕСИА) OpenId

[![Build Status](https://travis-ci.org/fr05t1k/esia.svg?branch=master)](https://travis-ci.org/fr05t1k/esia)
[![Build Status](https://github.com/fr05t1k/esia/actions/workflows/tests.yml/badge.svg)](https://github.com/fr05t1k/esia/actions/workflows/tests.yml)

# Описание
Компонент для авторизации на портале "Госуслуги".
Expand Down