Skip to content

Commit

Permalink
Moved CI to GHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 2, 2024
1 parent 0688767 commit 08e08bf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .circleci/config.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on:
pull_request:
branches:
- main
- 'feature/**'
push:
branches:
- main

jobs:
test-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: shivammathur/setup-php@v2
- run: composer install
- run: composer lint
- run: composer test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[![GitHub Issues](https://img.shields.io/github/issues/drevops/behat-phpserver.svg)](https://github.com/drevops/behat-phpserver/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/drevops/behat-phpserver.svg)](https://github.com/drevops/behat-phpserver/pulls)
[![CircleCI](https://circleci.com/gh/drevops/behat-phpserver.svg?style=shield)](https://circleci.com/gh/drevops/behat-phpserver)
[![Test](https://github.com/drevops/behat-phpserver/actions/workflows/test.yml/badge.svg)](https://github.com/drevops/behat-phpserver/actions/workflows/test.yml)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/drevops/behat-phpserver)
[![Total Downloads](https://poser.pugx.org/drevops/behat-phpserver/downloads)](https://packagist.org/packages/drevops/behat-phpserver)
![LICENSE](https://img.shields.io/github/license/drevops/behat-phpserver)
Expand Down

0 comments on commit 08e08bf

Please sign in to comment.