DEV Community

loading...
Cover image for Github Action to Test & Deploy your code easily

Github Action to Test & Deploy your code easily

vsasvipul0605 profile image Vipul Sinha ・1 min read

My Workflow

Github Action "PHP Composer" is used to manage dependencies of PHP code and required libraries.

Submission Category:

DIY Deployments

Yaml File or Link to Code

name: PHP Composer

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

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1

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

    - name: Install dependencies
      run: composer install --prefer-dist --no-progress --no-suggest
Enter fullscreen mode Exit fullscreen mode

GitHub logo vsasvipul0605 / covid19-india-stats

This will provide total number of confirmed cases, recovered cases and total deaths in India due to Corona Virus as well as state-wise details.

covid19-india-stats

This project is used in GitHub Actions x DEV Hackathon!

Build Status   Open Source   Awesome  PHP Composer

Sources

https://www.mohfw.gov.in/ https://icmr.nic.in/node/39071 https://twitter.com/PTI_News https://twitter.com/ANI https://twitter.com/the_hindu https://www.indiatoday.in https://twitter.com/thenewsminute http://gis.ndma.gov.in/arcgis/apps/sites/#/data https://covid.icmr.org.in/index.php

South

Tamil Nadu

http://stopcoronatn.in/ https://twitter.com/Vijayabaskarofl https://twitter.com/NHM_TN

Kerala

https://twitter.com/CMOKerala https://twitter.com/vijayanpinarayi http://dhs.kerala.gov.in/ https://dashboard.kerala.gov.in/ http://dhs.kerala.gov.in/%E0%B4%A1%E0%B5%86%E0%B4%AF%E0%B4%BF%E0%B4%B2%E0%B4%BF-%E0%B4%AC%E0%B5%81%E0%B4%B3%E0%B5%8D%E0%B4%B3%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B4%BF%E0%B4%A8%E0%B5%8D%E2%80%8D/

Karnataka

https://twitter.com/sriramulubjp https://karunadu.karnataka.gov.in/hfw/kannada/Pages/covid-19.aspx https://karunadu.karnataka.gov.in/hfw/kannada/Pages/covid19-db.aspx https://twitter.com/DHFWKA https://covid19.karnataka.gov.in

Telangana

http://chfw.telangana.gov.in/homeCorona.do https://twitter.com/IPRTelangana http://124.124.103.93/COVID/home.htm https://covid19.telangana.gov.in/announcements/media-bulletins/

Andhara Pradesh

https://twitter.com/ArogyaAndhra http://hmfw.ap.gov.in/carona_info.aspx http://hmfw.ap.gov.in/covid_dashboard.aspx

Andaman and Nicobar Islands

https://twitter.com/ChetanSanghi

Mahe

https://mahe.gov.in/covid-19/

Puducherry

https://collectorate.py.gov.in/Corona%20COVID-19.htm

WEST

Maharashtra

https://arogya.maharashtra.gov.in/1175/Novel--Corona-Virus https://phdmah.maps.arcgis.com/apps/opsdashboard/index.html#/2cc0055832264c5296890745e9ea415c https://twitter.com/Maha_MEDD

Goa

https://www.goa.gov.in/covid-19/ https://twitter.com/visrane

Madhya Pradesh

http://mphealthresponse.nhmmp.gov.in/covid/ https://twitter.com/JansamparkMP https://www.mpinfo.org/COVID-19/COVID-19_Index.aspx

Gujarat

https://nhm.gujarat.gov.in/latest-news-list.htm?LatestNews https://twitter.com/MoHFW_GUJARAT https://twitter.com/GujHFWDept http://gujcovid19.gujarat.gov.in/

Dadar & Nagar Haveli

https://twitter.com/CollectorDnh/

NORTH

Delhi

http://health.delhigovt.nic.in/wps/wcm/connect/DoIT_Health/health/home/covid19 https://twitter.com/CMODelhi

Haryana

http://www.nhmharyana.gov.in/page.aspx?id=208

JK

https://twitter.com/kansalrohit69 https://twitter.com/diprjk/

Ladakh

http://covid.ladakh.gov.in/#dataInsights

Himachal Pradesh

https://himachal.nic.in/index1.php?lang=1&dpt_id=19&level=0&lid=1777&linkid=673 https://twitter.com/nhm_hp

Rajasthan

http://www.rajswasthya.nic.in/Corona%20Virus.htm https://twitter.com/PIBJaipur http://www.rajswasthya.nic.in/

Punjab

http://pbhealth.gov.in/ https://dronamaps.com/corona.html#/ https://twitter.com/kbssidhu1961

Uttar Pradesh

http://dgmhup-covid19.in/

Chandigarh

http://chandigarh.gov.in/health_covid19.htm http://chdcovid19.in/

Uttarakhand

http://health.uk.gov.in/pages/display/140-novel-corona-virus-guidelines-and-advisory- https://www.facebook.com/UKMedicalHealth/

EAST

West Bengal

https://www.wbhealth.gov.in/pages/corona/bulletin

Mizoram

https://health.mizoram.gov.in/posts

Chhattisgarh

http://www.cghealth.nic.in/cghealth17/

Odisha

https://twitter.com/HFWOdisha https://health.odisha.gov.in/ https://covid19.odisha.gov.in/

Bihar

https://twitter.com/BiharHealthDept https://twitter.com/PIB_Patna https://covid19app.bihar.gov.in/ https://twitter.com/sanjayjavin/

Assam

https://assam.gov.in/covid-19-advisory.html https://twitter.com/himantabiswa https://twitter.com/nhm_assam

Arunachal Pradesh

https://twitter.com/PemaKhanduBJP

Tripura

https://twitter.com/BjpBiplab

Additional Resources / Info

Travis CI is a hosted continuous integration service used to build and test software projects hosted at GitHub

GitHub logo travis-ci / travis-ci

Free continuous integration platform for GitHub projects.

Do not open new issues here!

Travis CI

Travis CI is a hosted continuous integration and deployment system. You can now test and deploy open source and private projects on travis-ci.com! You can read more about this change here.

Move to Forum

We are moving to our new community forum: Travis CI Community! As part of this move, we’ll be able to better follow and reply to threads, along with making it easier for you to find solutions and answers. We’ll be making our best efforts to answer currently existing threads, or directing them to the new community forum.

Link to the Community Forum: https://travis-ci.community

For current outages and incidents such as slow network connections, subscribe to https://www.traviscistatus.com.

Other support issues may be directed to support@travis-ci.com where our support team will be glad to assist.

This repository contains the central issue tracker for the…

.travis.yml file
language: php

php:
  - 7.4

matrix:
  include:
    - php: 5.3
      dist: precise

sudo: false

before_script: composer install
script: phpunit
Enter fullscreen mode Exit fullscreen mode

Discussion (0)

pic
Editor guide