feat(Criar Models) ✨ Adicionar modelos de pedido, item e pessoa #2
Workflow file for this run
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
# Este fluxo de trabalho construirá um projeto Java com Maven e armazenará em cache/restaurará quaisquer dependências para melhorar o tempo de execução do fluxo de trabalho | |
# Para obter mais informações, consulte: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | |
name: CI Develop | |
on: | |
pull_request: # Essas linhas indica que toda pull_request apontada para a branch develop sera executado a CI | |
branches: | |
- develop | |
jobs: | |
check-application: | |
strategy: | |
matrix: | |
ubuntu: ['ubuntu-latest'] | |
java: ['17'] | |
runs-on: ${{ matrix.ubuntu }} | |
steps: | |
- name: Checkout codigo | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: ${{ matrix.java }} | |
- name: Setup Maven | |
run: | | |
sudo apt-get install -y maven | |
- name: Install Dependencies | |
run: mvn clean install -DskipTests | |
- name: Run Tests | |
run: mvn test |