Skip to content

Commit

Permalink
Modify tests workflows, some composer.json changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itrack committed Dec 10, 2023
1 parent f0eed39 commit 4395a33
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 56 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/php.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: PHPUnit

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
tests:

runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit
12 changes: 0 additions & 12 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
Expand Up @@ -2,7 +2,7 @@
Librarie PHP pentru verificarea gratuita a contribuabililor care sunt inregistrati conform art. 316 din Codul Fiscal

[![Latest Version](http://img.shields.io/packagist/v/itrack/anaf.svg)](https://packagist.org/packages/itrack/anaf)
[![Build Status](https://travis-ci.com/itrack/anaf.svg?branch=master)](https://app.travis-ci.com/itrack/anaf)
[![Build Status](https://github.com/itrack/anaf/actions/workflows/tests.yml/badge.svg)](https://app.travis-ci.com/itrack/anaf)
[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://vshymanskyy.github.io/StandWithUkraine/)

-----
Expand Down
16 changes: 9 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "itrack/anaf",
"type": "library",
"version": "3.0.6",
"description": "API ANAF pentru verificarea contribuabililor care sunt inregistrati conform art. 316 din Codul Fiscal",
"authors": [{
"license": "MIT",
"homepage": "https://devgeeks.ro",
"authors": [
{
"name": "Alex Stoica",
"email": "0x01.alex+github@gmail.com"
}],
}
],
"keywords": [
"api anaf",
"verificare tva",
Expand All @@ -15,9 +18,6 @@
"date firma",
"mfinante"
],
"license": [
"MIT"
],
"require": {
"php": ">=7.1 || >=8.0",
"ext-curl": "*",
Expand All @@ -41,5 +41,7 @@
"branch-alias": {
"dev-master": "0.1.x-dev"
}
}
},
"minimum-stability": "stable",
"prefer-stable": true
}

0 comments on commit 4395a33

Please sign in to comment.