Skip to content

Testing pr trigger #1

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2af83fb
Testing pr trigger
sebasrodriguez Jul 1, 2020
72dc63d
Test more urls
sebasrodriguez Jul 1, 2020
ae0f930
Testing action update
sebasrodriguez Jul 1, 2020
0470f88
Disabled fail on error
sebasrodriguez Jul 1, 2020
19dc6e4
Testing new version
sebasrodriguez Jul 1, 2020
612df98
Testing new version
sebasrodriguez Jul 1, 2020
45acc32
Testing new version
sebasrodriguez Jul 1, 2020
ad73cfa
Testing new version
sebasrodriguez Jul 1, 2020
f8a3b86
Testing fail on error
sebasrodriguez Jul 1, 2020
719914f
test: added checkout step
sebasrodriguez Jul 5, 2020
0be9cb1
wip: Adding fake local site to test install and start actions
sebasrodriguez Jul 5, 2020
b11e342
test: Trying install
sebasrodriguez Jul 5, 2020
09911b4
test: Install
sebasrodriguez Jul 5, 2020
6d0e9ed
test: Trying using master version of action
sebasrodriguez Jul 5, 2020
42d837d
test: Trying install with other action and start local server
sebasrodriguez Jul 5, 2020
ef851a3
Updated url
sebasrodriguez Jul 5, 2020
d9eba4e
test: Wait on command
sebasrodriguez Jul 5, 2020
a6c527c
test: Updated server to express
sebasrodriguez Jul 5, 2020
d378707
Passes start command
sebasrodriguez Jul 6, 2020
946a09e
Passes start command
sebasrodriguez Jul 6, 2020
4cf2d14
test: Added multiple urls
sebasrodriguez Jul 6, 2020
4b59329
Testing process exit
sebasrodriguez Jul 6, 2020
b29d5be
Updated to use local server
sebasrodriguez Jul 6, 2020
251895e
update: Moved to nextjs to test this configuration
sebasrodriguez Jul 6, 2020
230eeb6
update: Added local url
sebasrodriguez Jul 6, 2020
44c9f06
Testing fail on error false
sebasrodriguez Jul 6, 2020
e73c6b3
Fail on error
sebasrodriguez Jul 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
on: [push]
on: [pull_request]

jobs:
accessibility_job:
runs-on: ubuntu-latest
name: Runs accessibility tests
name: Accessibility tests
steps:
- name: Run a11y tests
id: a11y
uses: omboo/[email protected]
with:
urls: 'http://omboo.io'
- name: Checkout
uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- name: Run build
run: npm run build
- name: Run a11y tests
id: a11y
uses: omboo/a11y-action@master
with:
urls: "http://localhost:3000"
fail-on-error: true
start-command: "npm start"
wait-on: "http://localhost:3000"
wait-on-timeout: 20
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "action-test",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"next": "9.4.4",
"react": "16.13.1",
"react-dom": "16.13.1"
}
}
60 changes: 60 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import Head from "next/head";

export default function Home() {
return (
<div className="container">
<Head>
<title>Omboo</title>
<link
href="https://fonts.googleapis.com/css2?family=Comfortaa&display=swap"
rel="stylesheet"
/>
</Head>

<main>
<div className="container">
<a href="https://www.linkedin.com/company/omboo" target="_blank">
<img className="logo" src="https://www.omboo.io/logo.png" />
</a>
<a className="mail" href="mailto:[email protected]">
[email protected]
</a>
</div>
</main>

<style jsx>{`
.container {
display: flex;
width: 100%;
height: 100vh;
flex-direction: column;
align-items: center;
justify-content: center;
}

.logo {
width: 300px;
}

.mail {
font-size: 20px;
text-decoration: none;
color: gray;
margin-top: 40px;
}
`}</style>

<style jsx global>{`
html,
body {
font-family: Confortaa;
margin: 0;
}

* {
box-sizing: border-box;
}
`}</style>
</div>
);
}
Loading