-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f53db49
commit d1c611a
Showing
6 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: GitHub Actions Demo | ||
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 | ||
on: [push] | ||
jobs: | ||
Explore-GitHub-Actions-1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | ||
- run: echo "🖥️ The workflow is now ready to test your code on the runner." | ||
- name: List files in the repository | ||
run: | | ||
ls ${{ github.workspace }} | ||
- run: echo "🍏 This job's status is ${{ job.status }}." | ||
|
||
Explore-GitHub-Actions-2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | ||
- run: echo "🖥️ The workflow is now ready to test your code on the runner." | ||
- name: List files in the repository | ||
run: | | ||
echo "Listando os arquivos do meu diretorio" | ||
ls ${{ github.workspace }} | ||
- run: echo "🍏 This job's status is ${{ job.status }}." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Passo 01: Instancio uma imagem de SO linux, no caso usei o FEDORA, | ||
# mas pode ser o Ubunto, Alpine, Debian, etc... | ||
# Procure no Docker Hub a imagem que desejar! https://hub.docker.com | ||
FROM fedora:29 | ||
|
||
# Passo 02: Vou mapear os volumes (diretórios do container) onde deixarei | ||
# os testes (inputs) e os resultados (outputs). | ||
VOLUME /opt/robotframework/results | ||
VOLUME /opt/robotframework/tests | ||
|
||
# Passo 03: Vou rodar os comandos que instalam tudo que preciso para rodar o robot | ||
# nesse container linux. Como estou usando o FEDORA, os comandos aqui executados | ||
# devem ser compatíveis com ele!! | ||
RUN dnf upgrade -y && dnf install -y python37 | ||
|
||
# Passo 04: Instalo o Robot e as libraries que precisarei. No caso abaixo, | ||
# especifiquei a versão do robot que eu quero e não especifiquei a da | ||
# library Faker, com isso ele pegara a mais recente liberada. | ||
# Obs.: As barras são para indicar quebra de linha, mas o comando é um só, | ||
# é como se eu tivesso rodando tudo numa linha só. | ||
RUN pip3 install \ | ||
robotframework \ | ||
robotframework-faker \ | ||
robotframework-requests==0.5.0 \ | ||
robotframework-seleniumlibrary \ | ||
robotframework-databaselibrary \ | ||
robotframework-sshlibrary==3.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters