Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 400748b

Browse files
committed
Github Actions for testng
1 parent 02fee2f commit 400748b

File tree

3 files changed

+39
-36
lines changed

3 files changed

+39
-36
lines changed

Diff for: .circleci/config.yml

-36
This file was deleted.

Diff for: .github/workflows/tests.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Secure-Proxy tests
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Install Node
18+
uses: actions/setup-node@v1
19+
- name: npm dependencies
20+
run: npm install
21+
- name: Create the XPI
22+
run: npm run-script build
23+
- name: Run the tests
24+
shell: bash
25+
run: PATH=$PATH:/tmp npm run experimentaltests
26+
env:
27+
ACCOUNT_EMAIL: ${{ secrets.ACCOUNT_EMAIL }}
28+
ACCOUNT_PASSWD: ${{ secrets.ACCOUNT_PASSWD }}
29+
ACCOUNT_EMAIL_SUB: ${{ secrets.ACCOUNT_EMAIL_SUB }}
30+
ACCOUNT_PASSWD_SUB: ${{ secrets.ACCOUNT_PASSWD_SUB }}
31+
FIREFOX_PATH: /tmp/firefox/firefox
32+
XPI_PATH: /tmp/secure-proxy.xpi
33+
HEADLESS: y
34+
FXA_OPEN_ID: ${{ secrets.FXA_OPEN_ID }}
35+
SPS: ${{ secrets.SPS }}

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ This module is licensed under the [Mozilla Public License, version 2.0][license-
3939
[coc-link]: docs/code_of_conduct.md
4040
[security-link]: docs/SECURITY.md
4141
[license-link]: /LICENSE
42+
43+
## Test status
44+
45+
![Secure-Proxy tests](https://github.com/mozilla-extensions/secure-proxy/workflows/Secure-Proxy%20tests/badge.svg)

0 commit comments

Comments
 (0)