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

Feature/GitHub actions #82

Merged
merged 11 commits into from Apr 17, 2020
Merged

Feature/GitHub actions #82

merged 11 commits into from Apr 17, 2020

Conversation

danbilokha
Copy link
Owner

No description provided.

@danbilokha danbilokha marked this pull request as draft April 16, 2020 18:31
@danbilokha danbilokha requested review from jmelnych and Proladge and removed request for jmelnych April 17, 2020 07:05
@danbilokha danbilokha marked this pull request as ready for review April 17, 2020 07:06
Copy link
Collaborator

@Proladge Proladge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a Simple change I wish we could do to release.bat.

Great job on automating, Gihub actions 💯 🚀

@@ -1,4 +1,4 @@
const ngrok = require('ngrok');
import * as ngrok from 'ngrok';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@@ -1,14 +1,25 @@
import * as request from 'supertest';
import { expect } from 'chai';
import * as app from '../../index';
import {app} from '../../index';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@@ -1,5 +1,5 @@
CALL cd ..
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move this set of comamnds to single bat.
And then jst have kind demo.bat which says relase.bat demo-covid19livebot
inside release bat it would be

CALL heroku container:push web --app=%1
CALL heroku container:release web --app=%1
CALL heroku open --app=%1

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

letme try

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

@Proladge Proladge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

@@ -1,5 +0,0 @@
CALL cd ..
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually meant nor toremove this file,
But make it
release.bat demo-covid19livebot
and create a seperate one for prod
same way to be prod.release.bat

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -1,3 +1,5 @@
[![Coverage Status](https://coveralls.io/repos/github/danbilokha/covid19liveupdates/badge.svg?branch=master)](https://coveralls.io/github/danbilokha/covid19liveupdates?branch=master)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't wait to see this

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

34% 👍 Even though we're testing only 1 file

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thant's because it hasn't been mocked, I suppose

@danbilokha danbilokha linked an issue Apr 17, 2020 that may be closed by this pull request
@danbilokha danbilokha merged commit 6a2fc04 into master Apr 17, 2020
@danbilokha danbilokha deleted the feature/github_actions branch April 17, 2020 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup Github actions
2 participants